Merge pull request #13116 from Snuffleupagus/enableScripting-true
Enable scripting by default in the viewer (PR 13053 follow-up)
This commit is contained in:
commit
92d3a93897
@ -153,7 +153,7 @@
|
||||
},
|
||||
"enableScripting": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
"default": true
|
||||
},
|
||||
"enablePermissions": {
|
||||
"type": "boolean",
|
||||
|
@ -67,9 +67,7 @@ const defaultOptions = {
|
||||
},
|
||||
enableScripting: {
|
||||
/** @type {boolean} */
|
||||
value:
|
||||
typeof PDFJSDev === "undefined" ||
|
||||
PDFJSDev.test("!PRODUCTION || TESTING"),
|
||||
value: true,
|
||||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
|
||||
},
|
||||
enableWebGL: {
|
||||
|
Loading…
Reference in New Issue
Block a user