fix issues with the loading icon not appearing correctly (why?)
This commit is contained in:
parent
72c216bf24
commit
ebedc92127
3 changed files with 46 additions and 47 deletions
|
|
@ -63,7 +63,7 @@ function animateLoadingCanvas() {
|
|||
|
||||
let currentFrame = 0;
|
||||
let lastUpdateTime = 0;
|
||||
const frameDuration = 50; // ms per frame
|
||||
const frameDuration = 50;
|
||||
|
||||
let animationId;
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ async function renderStages() {
|
|||
<h2 class="error-message">
|
||||
Something went wrong! Try reloading the page. If this problem persists you may be ratelimited.
|
||||
</h2>
|
||||
`;
|
||||
`;
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
@ -144,4 +144,5 @@ async function renderStages() {
|
|||
}
|
||||
}
|
||||
|
||||
animateLoadingCanvas();
|
||||
renderStages();
|
||||
|
|
|
|||
Loading…
Reference in a new issue