mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Prevent external links from "replacing" the viewer when it's embedded (bug 976541)
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=976541. This patch also adds a `externalLinkTarget` preference, to make the behaviour user configurable.
This commit is contained in:
parent
39b962e3b0
commit
610df45bad
2 changed files with 16 additions and 3 deletions
|
@ -32,5 +32,6 @@ var DEFAULT_PREFERENCES = {
|
|||
disableAutoFetch: false,
|
||||
disableFontFace: false,
|
||||
disableTextLayer: false,
|
||||
useOnlyCssZoom: false
|
||||
useOnlyCssZoom: false,
|
||||
externalLinkTarget: 0,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue