From cb1394c13dba94b2491359d0c885e4a89905e267 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 1 Aug 2019 16:17:34 +0200 Subject: [PATCH] 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 :-) --- web/toolbar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/toolbar.js b/web/toolbar.js index 997284fc2..55a6f5c29 100644 --- a/web/toolbar.js +++ b/web/toolbar.js @@ -91,6 +91,7 @@ class Toolbar { this.pageScaleValue = DEFAULT_SCALE_VALUE; this.pageScale = DEFAULT_SCALE; this._updateUIState(true); + this.updateLoadingIndicatorState(); } _bindListeners() {