mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
[Editor] Don't show the ml toggle button when the ml is disabled (bug 1920515)
This commit is contained in:
parent
b65b7747b6
commit
d35a20a8c1
3 changed files with 70 additions and 1 deletions
|
@ -350,6 +350,7 @@ const PDFViewerApplication = {
|
|||
if (typeof PDFJSDev !== "undefined" && PDFJSDev.test("TESTING")) {
|
||||
Object.assign(opts, {
|
||||
enableAltText: x => x === "true",
|
||||
enableFakeMLManager: x => x === "true",
|
||||
enableGuessAltText: x => x === "true",
|
||||
enableUpdatedAddImage: x => x === "true",
|
||||
highlightEditorColors: x => x,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue