From: Vincent Vanwaelscappel Date: Thu, 23 Nov 2023 14:21:57 +0000 (+0100) Subject: wip #6508 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3421bce90a362896d50a9fc0a7b1d670c0719006;p=fluidbook-toolbox.git wip #6508 @0.25 --- diff --git a/resources/quiz/js/app.js b/resources/quiz/js/app.js index 9544ab99f..e6431f301 100644 --- a/resources/quiz/js/app.js +++ b/resources/quiz/js/app.js @@ -20,8 +20,12 @@ window.$ = window.jQuery = $; } let disable = false; - if (window.parent !== undefined && window.parent.fluidbook !== undefined) { - disable = true; + try { + if (window.parent !== undefined && window.parent.fluidbook !== undefined) { + disable = true; + } + } catch (e) { + } cubeSCORM.initScorm(disable);