]> _ Git - fluidbook-toolbox.git/commitdiff
wait #4080 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 20 Nov 2020 10:56:39 +0000 (11:56 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 20 Nov 2020 10:56:39 +0000 (11:56 +0100)
resources/quiz/js/main.js

index 77a9394f45d4e2007076da5311f1ce1cd045e005..e425e0c1b0fd548dd54a936be68189a9b0eca683 100644 (file)
 
         function resizeContainer() {
             try {
-                parent.window.fluidbook.links.resizeIframe($(document).outerHeight());
+                if (parent.window.fluidbook !== undefined) {
+                    parent.window.fluidbook.links.resizeIframe(height);
+                    parent.window.fluidbook.resize();
+                }
             } catch (e) {
 
             }