From 2cf2907653de8e3c3ffd04efd8cb5093d971118d Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 19 Mar 2024 16:08:50 +0100 Subject: [PATCH] =?utf8?q?wait=20#6808=20@1:00=20J'ai=20activ=C3=A9=20la?= =?utf8?q?=20mise=20=C3=A0=20jour=20des=20ic=C3=B4nes=20au=20d=C3=A9part?= =?utf8?q?=20du=20quiz?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/quiz.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/quiz.js b/js/quiz.js index 4967884..ed676f0 100644 --- a/js/quiz.js +++ b/js/quiz.js @@ -84,6 +84,8 @@ Quiz.prototype = { this.animations.globalAnimations(); this.progressbar.update(); + + this.updateIcons(); }, initTooltips: function () { @@ -104,8 +106,10 @@ Quiz.prototype = { // L'icône est déjà en place if ($(this).children('svg.' + iconId).length) { + console.log('icone already load') return; } + // Si une autre icône est présente, on la supprime $(this).children('svg.svg-icon').remove(); // Puis on ajoute l'icône @@ -130,6 +134,7 @@ Quiz.prototype = { this.screens.reset(); this.screens.intro.show(); this.progressbar.update(); + this.updateIcons(); } } -- 2.39.5