]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wait #6340 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 12 Oct 2023 13:43:57 +0000 (15:43 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 12 Oct 2023 13:43:57 +0000 (15:43 +0200)
js/quiz.js

index 3806ae8d50f521e98b2482a4bcd041edf120e3ef..5cfdcddd2d631d89bbdab604d04f9d765a02647d 100644 (file)
@@ -43,13 +43,16 @@ Quiz.prototype = {
         this.match = new QuizMatch(this);
         this.attemptsLog = new QuizAttemptsLog(this);
         this.countriesList = new QuizCountriesList(this);
-
         this.scorm = new QuizScorm(this);
     },
 
     initQuiz: function (state) {
         const $this = this;
 
+        $(window).on('submit', 'form', function () {
+            return false;
+        });
+
         // La fonction resize est appelée à chaque fois qu'un resize de la fenêtre survient (et à l'init de l'app)
         $(window).on('resize', function () {
             $this.quizResize();