From: Vincent Vanwaelscappel Date: Fri, 20 Nov 2020 11:11:41 +0000 (+0100) Subject: wait #4080 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f4a4ce36520b10dfd446938137ca1ab43ba52794;p=fluidbook-toolbox.git wait #4080 @0.25 --- diff --git a/resources/quiz/js/main.js b/resources/quiz/js/main.js index e425e0c1b..3b60c1773 100644 --- a/resources/quiz/js/main.js +++ b/resources/quiz/js/main.js @@ -61,8 +61,10 @@ 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) {