mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Prevent named actions from displaying a 'resource://' URL in Firefox
This commit is contained in:
parent
8fc1e669f0
commit
e69fc0072a
1 changed files with 1 additions and 0 deletions
|
@ -1643,6 +1643,7 @@ var PageView = function pageView(container, id, scale,
|
|||
}
|
||||
|
||||
function bindNamedAction(link, action) {
|
||||
link.href = PDFView.getAnchorUrl('');
|
||||
link.onclick = function pageViewSetupNamedActionOnClick() {
|
||||
// See PDF reference, table 8.45 - Named action
|
||||
switch (action) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue