From 99cb0de027891399869b06609b0bf47a03ba1001 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 10 Dec 2021 23:59:33 +0000 Subject: [PATCH] . --- physics/templates/physics/exam_take.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/physics/templates/physics/exam_take.html b/physics/templates/physics/exam_take.html index b879d511..079dff8e 100755 --- a/physics/templates/physics/exam_take.html +++ b/physics/templates/physics/exam_take.html @@ -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");