Fixed displaying the correct asnwers

This commit is contained in:
sergiusz 2020-12-07 01:28:25 +01:00
parent 051a878a69
commit c782cda3a3

View File

@ -81,7 +81,8 @@
inputs.forEach((input) => { inputs.forEach((input) => {
if (input.type=="text") { if (input.type=="text") {
input.setAttribute("value", input.dataset.expected); // input.setAttribute("value", input.dataset.expected);
input.value = input.dataset.expected;
input.removeAttribute("class"); input.removeAttribute("class");
} }
}); });