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

This commit is contained in:
notmasteryet 2011-12-14 18:44:35 -06:00
parent 8231ed1b11
commit ddf9c43116

View File

@ -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