From: Andreas Gal Date: Thu, 12 May 2011 03:55:50 +0000 (-0700) Subject: don't try to go further back than page 1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=61ff69625d49dbe66c1934f4c60673b7c068ab64;p=pdf.js.git don't try to go further back than page 1 --- diff --git a/test.html b/test.html index 8a5fb0e..4eb3a76 100644 --- a/test.html +++ b/test.html @@ -65,7 +65,7 @@ function nextPage() { } function prevPage() { - if (pageNum > 0) + if (pageNum > 1) --pageNum; displayPage(pageNum); }