diff --git a/web/viewer.html b/web/viewer.html index 5164d0b19..08b75468f 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -3,32 +3,7 @@ Simple pdf.js page viewer - - - - - - - - - - - - - - - - - - - - - - - - - - +
@@ -119,6 +94,30 @@
Loading... 0%
+ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/viewer.js b/web/viewer.js index 6b82be6a1..f4088ec40 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -557,7 +557,7 @@ var ThumbnailView = function thumbnailView(container, page, id, pageRatio) { PDFView.page = id; return false; }; - + var view = page.view; this.width = view.width; this.height = view.height; @@ -728,7 +728,7 @@ function updateThumbViewArea() { if (thumbnailTimer) clearTimeout(thumbnailTimer); - thumbnailTimer = setTimeout(function(){ + thumbnailTimer = setTimeout(function() { var visibleThumbs = PDFView.getVisibleThumbs(); for (var i = 0; i < visibleThumbs.length; i++) { var thumb = visibleThumbs[i];