.
This commit is contained in:
@@ -101,10 +101,10 @@
|
||||
// })
|
||||
//})
|
||||
{% else %}
|
||||
$(`ol.physics-answer-list input`).disabled = true;
|
||||
{{question.get_answers_js}}.forEach((el, n) => {
|
||||
console.log(el)
|
||||
$(`ol.physics-answer-list li:eq(${n})`).addClass(`answer-${el}`)
|
||||
$(`ol.physics-answer-list input`).disabled = true;
|
||||
|
||||
});
|
||||
//$("ul.physics-answer-list li[data-ans='{{question.best_answer}}']").addClass("correct");
|
||||
|
||||
Reference in New Issue
Block a user