Fixes PDFDocumentProxy.getDownloadInfo API name (and refactoring)
This commit is contained in:
parent
3c6ac0dad5
commit
e5e9c6e243
4 changed files with 16 additions and 25 deletions
|
@ -847,7 +847,7 @@ var PDFView = {
|
|||
var errorWrapper = document.getElementById('errorWrapper');
|
||||
errorWrapper.setAttribute('hidden', 'true');
|
||||
|
||||
pdfDocument.dataLoaded().then(function() {
|
||||
pdfDocument.getDownloadInfo().then(function() {
|
||||
PDFView.loadingBar.hide();
|
||||
var outerContainer = document.getElementById('outerContainer');
|
||||
outerContainer.classList.remove('loadingInProgress');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue