Tweak external links in fullscreen mode - follow up on #2712

This commit is contained in:
Jonas 2013-03-25 17:50:49 +01:00
parent 921f3211a4
commit e081c764af
2 changed files with 13 additions and 0 deletions

View File

@ -88,6 +88,18 @@ select {
margin-bottom: 100%; margin-bottom: 100%;
} }
:-webkit-full-screen a:not(.internalLink) {
display: none;
}
:-moz-full-screen a:not(.internalLink) {
display: none;
}
:fullscreen a:not(.internalLink) {
display: none;
}
#viewerContainer.presentationControls { #viewerContainer.presentationControls {
cursor: default; cursor: default;
} }

View File

@ -1932,6 +1932,7 @@ var PageView = function pageView(container, pdfPage, id, scale,
PDFView.navigateTo(dest); PDFView.navigateTo(dest);
return false; return false;
}; };
link.className = 'internalLink';
} }
function createElementWithStyle(tagName, item, rect) { function createElementWithStyle(tagName, item, rect) {
if (!rect) { if (!rect) {