mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Tweak external links in fullscreen mode - follow up on #2712
This commit is contained in:
parent
921f3211a4
commit
e081c764af
2 changed files with 13 additions and 0 deletions
|
@ -88,6 +88,18 @@ select {
|
|||
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 {
|
||||
cursor: default;
|
||||
}
|
||||
|
|
|
@ -1932,6 +1932,7 @@ var PageView = function pageView(container, pdfPage, id, scale,
|
|||
PDFView.navigateTo(dest);
|
||||
return false;
|
||||
};
|
||||
link.className = 'internalLink';
|
||||
}
|
||||
function createElementWithStyle(tagName, item, rect) {
|
||||
if (!rect) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue