From eb11f0c7de20c0e345631bfc2f74c265f7979c0c Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 20 Aug 2021 12:19:10 +0100 Subject: [PATCH] . --- rapids/templates/rapids/exam_scores_user.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rapids/templates/rapids/exam_scores_user.html b/rapids/templates/rapids/exam_scores_user.html index 2588c5d4..39ef9d54 100644 --- a/rapids/templates/rapids/exam_scores_user.html +++ b/rapids/templates/rapids/exam_scores_user.html @@ -52,7 +52,7 @@ window.dispatchEvent(event); $(".question-display-block .answers").empty().append(data.answers.toString()); - n = question_number + 1 + n = parseInt(question_number) + 1 $(".question-display-block .question-number").empty().append(n); // show some message according to the response. // For eg. A message box showing that the status has been changed