Merge pull request #19429 from calixteman/autolinking_firefox

Enable autolinking in Firefox (bug 1019475)
This commit is contained in:
calixteman 2025-02-06 17:47:55 +01:00 committed by GitHub
commit f1152f5caf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,7 +197,7 @@ const defaultOptions = {
},
enableAutoLinking: {
/** @type {boolean} */
value: false,
value: typeof PDFJSDev === "undefined" || PDFJSDev.test("MOZCENTRAL"),
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enableGuessAltText: {