silly bug
This commit is contained in:
+1
-2
@@ -850,8 +850,7 @@ async function loadQuestion(n, section = 1, force_reload = false) {
|
|||||||
const cid = exam_details.cid;
|
const cid = exam_details.cid;
|
||||||
const eid = exam_details.eid;
|
const eid = exam_details.eid;
|
||||||
|
|
||||||
// Make sure we have an string
|
n = parseInt(n);
|
||||||
n = String(n);
|
|
||||||
//console.log("loading question (n)", n);
|
//console.log("loading question (n)", n);
|
||||||
|
|
||||||
if (n == loaded_question && force_reload == false) {
|
if (n == loaded_question && force_reload == false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user