From e0f8301ea794aa9056399dd8375705b23bb5526d Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 10 Dec 2021 23:55:07 +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 b8e60835..610218a3 100755 --- a/physics/templates/physics/exam_take.html +++ b/physics/templates/physics/exam_take.html @@ -104,7 +104,7 @@ {{question.get_answers_js}}.forEach((el, n) => { console.log(el) if (el) { - $("ol.physics-answer-list li")[n].addClass("correct") + $(`ol.physics-answer-list li:eq(${n})`).addClass("correct") } });