From 596eb7b59c1e1f7e7ab4ee6ee270917947f8892c Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 22 Nov 2018 20:51:38 +0100 Subject: [PATCH] Error handling for onResize of the Canvas App --- client/html/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/html/index.html b/client/html/index.html index 5de3933a4..2c4729474 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -35,10 +35,16 @@ loadAdvancedAlgosPlatform(); } } + function onResize(){ + if (window.canvasApp === undefined) {return} + if (window.canvasApp.eventHandler === undefined) {return} + window.canvasApp.eventHandler.raiseEvent('Browser Resized') + } + - +