mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #16228 from Snuffleupagus/firefox-imageResourcesPath
[Firefox] Set the `imageResourcesPath` correctly (PR 16153 follow-up)
This commit is contained in:
commit
09da8026b6
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue