This commit is contained in:
Ross
2021-12-10 23:49:29 +00:00
parent 29b1587790
commit 0cad8e8b4b
+4 -1
View File
@@ -102,7 +102,10 @@
})
{% else %}
{{question.get_answers_js}}.forEach((el, n) => {
console.log(el;)
console.log(el)
if (el) {
$("ul.physics-answer-list li")[n].addClass()
}
});
//$("ul.physics-answer-list li[data-ans='{{question.best_answer}}']").addClass("correct");