[Pkg-javascript-commits] [pdf.js] 170/204: Fix |cleanup| regression in the viewer

David Prévot taffit at moszumanska.debian.org
Sat Oct 25 18:50:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 5f8373919037321aee05ce0fbaf1aa3fa30358a3
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Thu Oct 2 00:24:01 2014 +0200

    Fix |cleanup| regression in the viewer
---
 web/pdf_viewer.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/web/pdf_viewer.js b/web/pdf_viewer.js
index 02304d0..a64f39b 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) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list