start with ESlint

This commit is contained in:
Ross
2020-04-28 13:44:12 +01:00
parent be8337751e
commit d116c14b7d
+2 -2
View File
@@ -1275,7 +1275,7 @@ function reviewQuestions() {
current_answers[[arr["qid"], arr["qidn"]]] = answer;
});
correct_count = 0;
let correct_count = 0;
window.question_order.forEach(function (qid, n) {
$("#review-answer-list").append(
"<li id='review-answer-" +
@@ -1312,7 +1312,7 @@ function reviewQuestions() {
}
}
el = $("#review-answer-" + qid + " span");
let el = $("#review-answer-" + qid + " span");
/**
* Helper function to define how review items are displayed