From: Vincent Vanwaelscappel Date: Tue, 31 Jan 2023 10:25:32 +0000 (+0100) Subject: wait #5707 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6aef448c6bc2f4a32b69c0692165f5355d742005;p=fluidbook-toolbox.git wait #5707 @1.5 --- 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() {