app/assets/javascripts/pdfjs_viewer/viewer.js in pdfjs_viewer-rails-0.0.5 vs app/assets/javascripts/pdfjs_viewer/viewer.js in pdfjs_viewer-rails-0.0.6

- old
+ new

@@ -3177,19 +3177,21 @@ linkService.navigateTo(dest); } return false; }; if (dest) { + link.removeAttribute("target"); link.className = 'internalLink'; } } function bindNamedAction(link, action) { link.href = linkService.getAnchorUrl(''); link.onclick = function pageViewSetupNamedActionOnClick() { linkService.executeNamedAction(action); return false; }; + link.removeAttribute("target"); link.className = 'internalLink'; } pdfPage.getAnnotations().then(function(annotationsData) { viewport = viewport.clone({ dontFlip: true });