Removes 'visiblePages[0] is undefined' error
This commit is contained in:
parent
969a2010b2
commit
ee499b46cf
@ -2772,6 +2772,9 @@ function updateViewarea() {
|
||||
return;
|
||||
var visible = PDFView.getVisiblePages();
|
||||
var visiblePages = visible.views;
|
||||
if (visiblePages.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
PDFView.renderHighestPriority();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user