From 37baf84f6450e992f6c4f27f5e875755a113dd4e Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 11 Dec 2021 00:01:21 +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 079dff8e..3d31327d 100755 --- a/physics/templates/physics/exam_take.html +++ b/physics/templates/physics/exam_take.html @@ -101,7 +101,7 @@ // }) //}) {% else %} - $(`ol.physics-answer-list input`).disabled = true; + $(`ol.physics-answer-list input`).each((n, el) => { el.disabled = true; }); {{question.get_answers_js}}.forEach((el, n) => { console.log(el) $(`ol.physics-answer-list li:eq(${n})`).addClass(`answer-${el}`)