|
|
|
@ -90,10 +90,13 @@ var PDFOutlineViewer = (function PDFOutlineViewerClosure() {
@@ -90,10 +90,13 @@ var PDFOutlineViewer = (function PDFOutlineViewerClosure() {
|
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
var linkService = this.linkService; |
|
|
|
|
element.href = linkService.getDestinationHash(item.dest); |
|
|
|
|
element.onclick = function goToDestination(e) { |
|
|
|
|
linkService.navigateTo(item.dest); |
|
|
|
|
var self = this, destination = item.dest; |
|
|
|
|
|
|
|
|
|
element.href = self.linkService.getDestinationHash(destination); |
|
|
|
|
element.onclick = function () { |
|
|
|
|
if (destination) { |
|
|
|
|
self.linkService.navigateTo(destination); |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|