From 6aef448c6bc2f4a32b69c0692165f5355d742005 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 31 Jan 2023 11:25:32 +0100 Subject: [PATCH] wait #5707 @1.5 --- resources/quiz/js/app.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/quiz/js/app.js b/resources/quiz/js/app.js index d1e99cafd..62a560059 100644 --- a/resources/quiz/js/app.js +++ b/resources/quiz/js/app.js @@ -249,7 +249,6 @@ require('../../scorm/scorm'); } function init(state) { - console.log(state); resize(); $(document).on('click', ".answer", function () { answer($(this)); @@ -314,8 +313,10 @@ require('../../scorm/scorm'); function initScreen(screen) { // When displaying first question - $("section").eq(screen).show(); - resizeContainer(); + setTimeout(function () { + $("section").eq(screen).show(); + resizeContainer(); + }, 50) } function nextScreen() { -- 2.39.5