Skip to content

Commit

Permalink
Merge pull request #5360 from Snuffleupagus/pr-5359-followup
Browse files Browse the repository at this point in the history
Followup fix for entering/exiting Presentation mode
  • Loading branch information
yurydelendik committed Sep 30, 2014
2 parents f852a44 + b06e65e commit f5d416c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/page_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ var PageView = function pageView(container, id, scale, defaultViewport,
}
dest = null;
// Fixes the case when PDF has different page sizes.
this.viewer.currentScaleValue = this.viewer.currentScaleValue;
this.viewer._setScale(this.viewer.currentScaleValue, true);
}
if (!dest) {
scrollIntoView(div);
Expand Down

0 comments on commit f5d416c

Please sign in to comment.