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

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