Skip to content

Commit

Permalink
Merge pull request mozilla#5638 from Snuffleupagus/issue-5637-1
Browse files Browse the repository at this point in the history
Fix thumbnail scaling regression for files with different page sizes (issue 5637)
  • Loading branch information
timvandermeij authored and speedplane committed Feb 24, 2015
2 parents 7bcae52 + 62eb943 commit 575ed46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/thumbnail_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ var ThumbnailView = function thumbnailView(container, id, defaultViewport,
if (this.hasImage || !img) {
return;
}
if (this.pdfPage) {
if (!this.pdfPage) {
this.setPdfPage(pageView.pdfPage);
}
this.renderingState = RenderingStates.FINISHED;
Expand Down

0 comments on commit 575ed46

Please sign in to comment.