]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5707 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 31 Jan 2023 10:25:32 +0000 (11:25 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 31 Jan 2023 10:25:32 +0000 (11:25 +0100)
resources/quiz/js/app.js

index d1e99cafd8bf53d914d0d4caa04edc8eb63faa27..62a560059645c0a820bc6a6864430822211b4dd4 100644 (file)
@@ -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() {