Small refactoring of the loadingBar hiding code
This commit is contained in:
parent
fb6d87c77b
commit
cfeb4c1019
3 changed files with 3 additions and 5 deletions
|
@ -873,8 +873,6 @@ var PDFViewerApplication = {
|
|||
var downloadedPromise = pdfDocument.getDownloadInfo().then(function() {
|
||||
self.downloadComplete = true;
|
||||
self.loadingBar.hide();
|
||||
var outerContainer = document.getElementById('outerContainer');
|
||||
outerContainer.classList.remove('loadingInProgress');
|
||||
});
|
||||
|
||||
var pagesCount = pdfDocument.numPages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue