[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-www] branch master updated: fix JS issues in PDF ren
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-www] branch master updated: fix JS issues in PDF renderer |
Date: |
Tue, 07 Mar 2017 16:34:57 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository www.
The following commit(s) were added to refs/heads/master by this push:
new be81438 fix JS issues in PDF renderer
be81438 is described below
commit be81438e366a88d278e091fd3e6dc5743d7ab1af
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Mar 7 16:36:34 2017 +0100
fix JS issues in PDF renderer
---
dist/js/pdf-view.js | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/dist/js/pdf-view.js b/dist/js/pdf-view.js
index 51251dc..b002085 100644
--- a/dist/js/pdf-view.js
+++ b/dist/js/pdf-view.js
@@ -44,9 +44,6 @@ function renderPage(canvas,num) {
}
});
});
-
- // Update page counters
- document.getElementById('page_num').textContent = pageNum;
}
/**
@@ -96,5 +93,6 @@ PDFJS.getDocument(url).then(function(pdfDoc_) {
pdfDoc = pdfDoc_;
// Initial/first page rendering
- renderPage(pageNum);
+ renderPage(canvasLeft,pageNum);
+ renderPage(canvasRight,pageNum + 1);
});
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-www] branch master updated: fix JS issues in PDF renderer,
gnunet <=