diff --git a/app/templates/Pensum_cloze.html b/app/templates/Pensum_cloze.html index 797af1a..955b5ef 100644 --- a/app/templates/Pensum_cloze.html +++ b/app/templates/Pensum_cloze.html @@ -81,7 +81,8 @@ inputs.forEach((input) => { if (input.type=="text") { - input.setAttribute("value", input.dataset.expected); + // input.setAttribute("value", input.dataset.expected); + input.value = input.dataset.expected; input.removeAttribute("class"); } });