Fix CMap loading for pdf-worker
This commit is contained in:
parent
f5eb99ad4c
commit
af689b17fa
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class PDFWorker {
|
|||
if (message.action === 'FetchBuiltInCMap') {
|
||||
let response = await Zotero.HTTP.request(
|
||||
'GET',
|
||||
CMAPS_URL + event.data.data.name + '.bcmap',
|
||||
CMAPS_URL + message.data + '.bcmap',
|
||||
{ responseType: 'arraybuffer' }
|
||||
);
|
||||
respData = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue