diff --git a/static/js/quiz.js b/static/js/quiz.js index 229d55c..82737d5 100644 --- a/static/js/quiz.js +++ b/static/js/quiz.js @@ -153,9 +153,11 @@ $(document).ready(function () { if (currentQuestionIndex === questionKeys.length - 1) { setTimeout(showSummary, delayBetweenQuestions); } else { - currentQuestionIndex++; setTimeout(() => { - initializeQuestion(); + $info.fadeOut(fadeDuration, function () { + currentQuestionIndex++; + initializeQuestion(); + }); }, delayBetweenQuestions); } } diff --git a/templates/quiz_sub.html b/templates/quiz_sub.html index f570154..b6cc2c7 100644 --- a/templates/quiz_sub.html +++ b/templates/quiz_sub.html @@ -7,7 +7,7 @@