mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #3618 from Snuffleupagus/followup-3557
Prevent named actions from displaying a 'resource://' URL in Firefox
This commit is contained in:
commit
d26fcd5468
1 changed files with 1 additions and 0 deletions
|
@ -1653,6 +1653,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