Fix url for thumbnail. (still not working 100)
This commit is contained in:
parent
e7a0a2e129
commit
337806deed
@ -862,7 +862,7 @@ var PageView = function pageView(container, content, id, pageWidth, pageHeight,
|
|||||||
|
|
||||||
var ThumbnailView = function thumbnailView(container, page, id, pageRatio) {
|
var ThumbnailView = function thumbnailView(container, page, id, pageRatio) {
|
||||||
var anchor = document.createElement('a');
|
var anchor = document.createElement('a');
|
||||||
anchor.href = '#' + id;
|
anchor.href = PDFView.getAnchorUrl('#page=' + id);
|
||||||
anchor.onclick = function stopNivigation() {
|
anchor.onclick = function stopNivigation() {
|
||||||
PDFView.page = id;
|
PDFView.page = id;
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user