This commit is contained in:
Ross
2021-10-16 12:10:15 +01:00
parent 12d1a41938
commit b9117aff2d
81 changed files with 1111 additions and 1116 deletions
+3 -1
View File
@@ -26,7 +26,9 @@ $(document).ready(function () {
var classes = ['answer correct', 'answer half-correct', 'answer incorrect'];
$(element).each(function () {
this.className = classes[($.inArray(this.className, classes) + 1) % classes.length];
mark = classes[($.inArray(this.className, classes) + 1) % classes.length];
this.className = mark
this.dataset.newmark = mark
});
prepAnswerData();