Merge pull request #115 from AAVikings/develop
Inside IFRAMES the onload event is reaised before the window has its …
This commit is contained in:
1 file changed
+3
-1
@@ -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(){
|
||||
|
||||
Reference in new issue
Block a user