Merge pull request #2919 from Snuffleupagus/external-links
Tweak external links in fullscreen mode - follow up on #2712
This commit is contained in:
commit
71a31b01f2
2 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2005,6 +2005,7 @@ var PageView = function pageView(container, 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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue