From: Brendan Dahl Date: Fri, 27 Jan 2012 18:53:37 +0000 (-0800) Subject: Fix url for thumbnail. (still not working 100) X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=337806deed4f75ba7d93bd14963264588c11b72e;p=pdf.js.git Fix url for thumbnail. (still not working 100) --- diff --git a/web/viewer.js b/web/viewer.js index 790b5ae..3431e18 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -862,7 +862,7 @@ var PageView = function pageView(container, content, id, pageWidth, pageHeight, var ThumbnailView = function thumbnailView(container, page, id, pageRatio) { var anchor = document.createElement('a'); - anchor.href = '#' + id; + anchor.href = PDFView.getAnchorUrl('#page=' + id); anchor.onclick = function stopNivigation() { PDFView.page = id; return false;