Merge pull request #15997 from Snuffleupagus/loadingIcon-INITIAL-remove
Remove the `loadingIcon` in all cases when resetting the page (PR 15992 follow-up)
This commit is contained in:
commit
39bdd09447
@ -245,7 +245,6 @@ class PDFPageView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case RenderingStates.INITIAL:
|
|
||||||
case RenderingStates.PAUSED:
|
case RenderingStates.PAUSED:
|
||||||
this.div.classList.remove("loading");
|
this.div.classList.remove("loading");
|
||||||
break;
|
break;
|
||||||
@ -260,6 +259,7 @@ class PDFPageView {
|
|||||||
this.#loadingId = null;
|
this.#loadingId = null;
|
||||||
}, 0);
|
}, 0);
|
||||||
break;
|
break;
|
||||||
|
case RenderingStates.INITIAL:
|
||||||
case RenderingStates.FINISHED:
|
case RenderingStates.FINISHED:
|
||||||
this.div.classList.remove("loadingIcon", "loading");
|
this.div.classList.remove("loadingIcon", "loading");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user