Skip to content

Commit

Permalink
Merge pull request mozilla#8539 from Snuffleupagus/rm-load-currentSca…
Browse files Browse the repository at this point in the history
…le-call

Remove a redundant `PDFViewer.currentScale` call from `PDFViewerApplication.load`
  • Loading branch information
timvandermeij authored Jun 18, 2017
2 parents c3c9624 + 2657754 commit 5c8ae8b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5c8ae8b

Please sign in to comment.