[Firefox] Set the imageResourcesPath
correctly (PR 16153 follow-up)
We missed updating this path in PR 16153, which breaks loading of annotation-icons in the Firefox PDF Viewer.
This commit is contained in:
parent
43917796c2
commit
e0e56e9e9c
@ -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