Browse Source

Fixing setting of auto-zoom value in bookmarks (#938)

notmasteryet 14 years ago
parent
commit
ddf9c43116
  1. 2
      web/viewer.js

2
web/viewer.js

@ -537,7 +537,7 @@ var PageView = function pageView(container, content, id, pageWidth, pageHeight, @@ -537,7 +537,7 @@ var PageView = function pageView(container, content, id, pageWidth, pageHeight,
];
if (scale && scale !== PDFView.currentScale)
PDFView.setScale(scale, true);
PDFView.parseScale(scale, true);
setTimeout(function pageViewScrollIntoViewRelayout() {
// letting page to re-layout before scrolling

Loading…
Cancel
Save