diff --git a/client/html/index.html b/client/html/index.html index 4734e70b0..407908765 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -32,9 +32,13 @@ context: {} }; - let delay = 0 - if (window.innerHeight === 0) {delay = 3000} // Inside IFRAMES the onload event is reaised before the window has its real size. - setTimeout(loadAdvancedAlgosPlatform, delay) + try { + loadAdvancedAlgosPlatform(); + } + catch(err) { + console.log("[ERROR] MasterApp -> Index -> CanvasApp can not be started. Please check that AAWeb is running."); + console.log("[ERROR] MasterApp -> Index -> err = " + err); + } } }