Refactoring window.TOP_MARGIN -> window.canvasApp.topMargin
This commit is contained in:
1 parent
d718bfda01
commit
430d87070a
4 files changed
+12
-12
No files matched your search
@@ -59,10 +59,10 @@ function loadAdvancedAlgosPlatform() {
|
||||
browserCanvas = document.getElementById('canvas');
|
||||
|
||||
browserCanvas.width = window.innerWidth;
|
||||
browserCanvas.height = window.innerHeight - window.TOP_MARGIN;
|
||||
browserCanvas.height = window.innerHeight - window.canvasApp.topMargin;
|
||||
browserCanvas.style.border = "none";
|
||||
|
||||
browserCanvas.style.top = window.TOP_MARGIN + 'px';
|
||||
browserCanvas.style.top = window.canvasApp.topMargin + 'px';
|
||||
|
||||
/* The second thing to do is to send the tokenSession to the server, so that it can prepare the server side data structures needed. */
|
||||
|
||||
|
||||
Reference in new issue
Block a user