From ee6494d6c9bac0562a2bfb58d9ec17d7cb43e477 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 12 Oct 2023 15:43:57 +0200 Subject: [PATCH] wait #6340 @0.25 --- js/quiz.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/quiz.js b/js/quiz.js index 3806ae8..5cfdcdd 100644 --- a/js/quiz.js +++ b/js/quiz.js @@ -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(); -- 2.39.5