Fix printing regression from #3848.
This commit is contained in:
parent
d4e4634d06
commit
c9f2390567
@ -850,6 +850,13 @@ var PDFView = {
|
||||
bindOnAfterDraw(pageView, thumbnailView);
|
||||
pages.push(pageView);
|
||||
thumbnails.push(thumbnailView);
|
||||
if (!PDFJS.disableAutoFetch) {
|
||||
pagePromises.push(pdfDocument.getPage(pageNum).then(
|
||||
function (pageView, pdfPage) {
|
||||
pageView.setPdfPage(pdfPage);
|
||||
}.bind(this, pageView)
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
var event = document.createEvent('CustomEvent');
|
||||
|
Loading…
x
Reference in New Issue
Block a user