oops changing loading messages too soon
This commit is contained in:
parent
4d6ea02880
commit
da4c279c54
1 changed files with 4 additions and 4 deletions
|
|
@ -7,6 +7,10 @@ window.addEventListener("load", () => {
|
||||||
skipNode.setAttribute("class", "skip-animation");
|
skipNode.setAttribute("class", "skip-animation");
|
||||||
skipNode.setAttribute("onclick", "skipAnimation()");
|
skipNode.setAttribute("onclick", "skipAnimation()");
|
||||||
document.body.appendChild(skipNode);
|
document.body.appendChild(skipNode);
|
||||||
|
|
||||||
|
fetch("/assets/loading.txt")
|
||||||
|
.then(r => r.text())
|
||||||
|
.then(t => Load(t))
|
||||||
});
|
});
|
||||||
|
|
||||||
// skip animations and shit
|
// skip animations and shit
|
||||||
|
|
@ -38,7 +42,3 @@ function Load (text) {
|
||||||
loading.chilren[1].innerHTML = loadText + ".."
|
loading.chilren[1].innerHTML = loadText + ".."
|
||||||
loading.chilren[2].innerHTML = loadText + "..."
|
loading.chilren[2].innerHTML = loadText + "..."
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch("/assets/loading.txt")
|
|
||||||
.then(r => r.text())
|
|
||||||
.then(t => Load(t))
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue