Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyEye-FAST committed Jul 12, 2024
1 parent 0b9f514 commit d058624
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/js/quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,14 @@ $(document).ready(function () {
}

if (input === translation) {
updateBoxes();
$(".box").css("background-color", "#79b851");

if (currentQuestionIndex === questionKeys.length - 1) {
setTimeout(showSummary, delayBetweenQuestions);
} else {
currentQuestionIndex++;
setTimeout(() => {
currentQuestionIndex++;
initializeQuestion();
}, delayBetweenQuestions);
}
Expand Down

0 comments on commit d058624

Please sign in to comment.