#19 changed the behaviour when we start our scripts
This commit is contained in:
parent
f0eebd2803
commit
f3fe4fc717
|
@ -88,7 +88,7 @@ function awaitPageLoaded() {
|
||||||
}
|
}
|
||||||
|
|
||||||
let loop = setInterval(() => {
|
let loop = setInterval(() => {
|
||||||
if (preLoader.style.display === "none") {
|
if (preLoader.style.display === "none" && document.readyState === 'complete') {
|
||||||
clearInterval(loop);
|
clearInterval(loop);
|
||||||
|
|
||||||
runScripts();
|
runScripts();
|
||||||
|
|
Loading…
Reference in a new issue