diff --git a/web/pdf_viewer.js b/web/pdf_viewer.js index 02304d01c30a1..a64f39b55bc32 100644 --- a/web/pdf_viewer.js +++ b/web/pdf_viewer.js @@ -609,8 +609,9 @@ var PDFViewer = (function pdfViewer() { this.scroll.down); if (pageView) { this.renderingQueue.renderView(pageView); - return; + return true; } + return false; }, getPageTextContent: function (pageIndex) {