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) {
|
||||
case RenderingStates.INITIAL:
|
||||
case RenderingStates.PAUSED:
|
||||
this.div.classList.remove("loading");
|
||||
break;
|
||||
@ -260,6 +259,7 @@ class PDFPageView {
|
||||
this.#loadingId = null;
|
||||
}, 0);
|
||||
break;
|
||||
case RenderingStates.INITIAL:
|
||||
case RenderingStates.FINISHED:
|
||||
this.div.classList.remove("loadingIcon", "loading");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user