Merge pull request #2252 from yurydelendik/no-visible-pages-undef

Removes 'visiblePages[0] is undefined' error
This commit is contained in:
Yury Delendik 2012-10-15 05:50:07 -07:00
commit 2f8421ca3e

View File

@ -2772,6 +2772,9 @@ function updateViewarea() {
return;
var visible = PDFView.getVisiblePages();
var visiblePages = visible.views;
if (visiblePages.length === 0) {
return;
}
PDFView.renderHighestPriority();