From: soufiane Date: Wed, 22 May 2024 13:58:02 +0000 (+0200) Subject: wip #6927 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8575ffae2ae63f981f44eeae0d1b8dab7f2e1985;p=fluidbook-toolbox-quiz.git wip #6927 --- diff --git a/js/quiz.screen.outro.js b/js/quiz.screen.outro.js index 77f3aed..fcd40e6 100644 --- a/js/quiz.screen.outro.js +++ b/js/quiz.screen.outro.js @@ -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(); });