]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wip #6927
authorsoufiane <soufiane@cubedesigners.com>
Wed, 22 May 2024 13:58:02 +0000 (15:58 +0200)
committersoufiane <soufiane@cubedesigners.com>
Wed, 22 May 2024 13:58:02 +0000 (15:58 +0200)
js/quiz.screen.outro.js

index 77f3aed795f40b459026f24c8a2ec6c70e5c0041..fcd40e685fd2fbc22622a09a2499cad4cde8ca25 100644 (file)
@@ -18,7 +18,8 @@ QuizScreenOutro.prototype = {
         $(document).on("click", ".toggle-answers-review", function () {
             $(".score-answers-review_container").toggleClass("active")
         });
-        $(document).on('click', '.btn.restart', function () {
+        $(document).on('click', '.btn.restart', function (e) {
+            e.preventDefault();
             $this.quiz.restart();
         });