Merge pull request #16228 from Snuffleupagus/firefox-imageResourcesPath
[Firefox] Set the `imageResourcesPath` correctly (PR 16153 follow-up)
This commit is contained in:
commit
09da8026b6
@ -125,7 +125,10 @@ const defaultOptions = {
|
||||
},
|
||||
imageResourcesPath: {
|
||||
/** @type {string} */
|
||||
value: "./images/",
|
||||
value:
|
||||
typeof PDFJSDev !== "undefined" && PDFJSDev.test("MOZCENTRAL")
|
||||
? "resource://pdf.js/web/images/"
|
||||
: "./images/",
|
||||
kind: OptionKind.VIEWER,
|
||||
},
|
||||
maxCanvasPixels: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user