diff --git a/Animation.js b/Animation.js index 4ceff4828..5b8a77234 100644 --- a/Animation.js +++ b/Animation.js @@ -115,7 +115,7 @@ function newAnimation() { clearBrowserCanvas(); - if (window.CANVAS_VISIBLE === true) { + if (window.canvasApp.visible === true) { /* We set the canvas to its normal width and height */ diff --git a/index.html b/index.html index 177723fc9..a3daeede3 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ window.canvasApp = { sessionToken: '', executingAt: 'Master App', - visible = true, + visible: true, topMargin: 85, urlPrefix: 'https://develop.advancedalgos.net/' /* 'http://localhost:1337/' */ }; @@ -23,7 +23,7 @@ window.canvasApp.sessionToken = ''; window.canvasApp.executingAt = 'Master App'; window.canvasApp.topMargin = 85; - window.CANVAS_VISIBLE = true; + window.canvasApp.visible = true; window.URL_PREFIX = 'https://develop.advancedalgos.net/'; //window.URL_PREFIX = 'http://localhost:1337/';