Merge pull request #115 from AAVikings/develop

Inside IFRAMES the onload event is reaised before the window has its …
This commit is contained in:
z@tOr authored and GitHub committed 2018-11-22 18:48:28 -03:00
commit 086bfb6852
1 file changed
+3 -1
+3 -1
View File
@@ -32,7 +32,9 @@
context: {}
};
loadAdvancedAlgosPlatform();
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)
}
}
function onResize(){