Skip to content

Commit

Permalink
Try to fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyEye-FAST committed Jul 13, 2024
1 parent e99365f commit 4cb504c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions static/js/quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
2 changes: 1 addition & 1 deletion templates/quiz_sub.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Minecraft译名认知测验</title>
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link rel="stylesheet"
href="https://fonts.font.im/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0">
href="https://fonts.font.im/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/dark-mode.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/quiz_sub.css') }}" type="text/css">
<style>
Expand Down

0 comments on commit 4cb504c

Please sign in to comment.