Browse Source

Merge pull request #8539 from Snuffleupagus/rm-load-currentScale-call

Remove a redundant `PDFViewer.currentScale` call from `PDFViewerApplication.load`
Tim van der Meij 8 years ago committed by GitHub
parent
commit
a6311471a7
  1. 1
      web/app.js

1
web/app.js

@ -907,7 +907,6 @@ var PDFViewerApplication = { @@ -907,7 +907,6 @@ var PDFViewerApplication = {
this.pdfDocumentProperties.setDocument(pdfDocument, this.url);
let pdfViewer = this.pdfViewer;
pdfViewer.currentScale = scale;
pdfViewer.setDocument(pdfDocument);
let firstPagePromise = pdfViewer.firstPagePromise;
let pagesPromise = pdfViewer.pagesPromise;

Loading…
Cancel
Save