1
0
Fork 0
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:
Jonas Jenwald 2019-08-01 16:17:34 +02:00
parent d909b86b28
commit cb1394c13d

View file

@ -91,6 +91,7 @@ class Toolbar {
this.pageScaleValue = DEFAULT_SCALE_VALUE;
this.pageScale = DEFAULT_SCALE;
this._updateUIState(true);
this.updateLoadingIndicatorState();
}
_bindListeners() {