[Pkg-javascript-commits] [pdf.js] 139/204: Fixes typo/regression of #5295 for presentation mode

David Prévot taffit at moszumanska.debian.org
Sat Oct 25 18:50:43 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 504d2c19e0e1e2d4e84ed1a25f7e423b822ae97d
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Mon Sep 29 20:17:26 2014 -0500

    Fixes typo/regression of #5295 for presentation mode
---
 web/pdf_viewer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/pdf_viewer.js b/web/pdf_viewer.js
index 25c8825..7645282 100644
--- a/web/pdf_viewer.js
+++ b/web/pdf_viewer.js
@@ -99,7 +99,7 @@ var PDFViewer = (function pdfViewer() {
       event.updateInProgress = this.updateInProgress;
 
       if (!(0 < val && val <= this.pagesCount)) {
-        event.pageNumber = this.page;
+        event.pageNumber = this._currentPageNumber;
         event.previousPageNumber = val;
         this.container.dispatchEvent(event);
         return;

-- 
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