Skip to content

Commit

Permalink
fix use of incorrect ID for opening PDFs
Browse files Browse the repository at this point in the history
  • Loading branch information
wbthomason committed May 18, 2023
1 parent c8f083d commit bd54e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/zotodo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ class Zotodo { // tslint:disable-line:variable-name

const select_uri = `zotero://select/${library_path}/items/${item_id}`
let open_uri = ''
if (pdf_id !== -1) { open_uri = `zotero://open-pdf/${library_path}/items/${item_id}` }
if (pdf_id !== -1) { open_uri = `zotero://open-pdf/${library_path}/items/${pdf_id}` }
let citekey = ''
if (
typeof Zotero.BetterBibTeX === 'object' &&
Expand Down

0 comments on commit bd54e59

Please sign in to comment.