mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
[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
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