mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Only disable HWA in m-c build and for local dev
This way, we keep pdf.js working as before except for Firefox.
This commit is contained in:
parent
831a526c10
commit
52a06e64f6
2 changed files with 3 additions and 2 deletions
|
@ -312,7 +312,7 @@ const defaultOptions = {
|
|||
},
|
||||
enableHWA: {
|
||||
/** @type {boolean} */
|
||||
value: false,
|
||||
value: typeof PDFJSDev !== "undefined" && !PDFJSDev.test("MOZCENTRAL"),
|
||||
kind: OptionKind.API + OptionKind.VIEWER + OptionKind.PREFERENCE,
|
||||
},
|
||||
enableXfa: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue