mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
[Editor] Don't remove elements from the draw layer after it has been destroyed
Fixes issue #17379.
This commit is contained in:
parent
319e85449e
commit
f7fec8c6d7
4 changed files with 84 additions and 1 deletions
|
@ -130,7 +130,7 @@ const defaultOptions = {
|
|||
// in Firefox release, but it has to be temporary.
|
||||
// TODO: remove it when unnecessary.
|
||||
/** @type {boolean} */
|
||||
value: typeof PDFJSDev === "undefined",
|
||||
value: typeof PDFJSDev === "undefined" || PDFJSDev.test("TESTING"),
|
||||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
|
||||
},
|
||||
enablePermissions: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue