mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Ensure that the loading indicator, in the pageNumber input, is hidden when the viewer is closed
Currently the indicator may remain visible even after the document has been closed, which seems weird given that no page is either visible nor rendering :-)
This commit is contained in:
parent
d909b86b28
commit
cb1394c13d
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ class Toolbar {
|
|||
this.pageScaleValue = DEFAULT_SCALE_VALUE;
|
||||
this.pageScale = DEFAULT_SCALE;
|
||||
this._updateUIState(true);
|
||||
this.updateLoadingIndicatorState();
|
||||
}
|
||||
|
||||
_bindListeners() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue