From 94070e1b7c4668ac563583c54682d7534307db58 Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Wed, 15 Nov 2023 21:54:59 +0000 Subject: [PATCH] Fix navigation to specific annotation when using zotero://open-pdf Fixes #3487 --- chrome/content/zotero/xpcom/openPDF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/openPDF.js b/chrome/content/zotero/xpcom/openPDF.js index c3e4183b47..1cdd419cfc 100644 --- a/chrome/content/zotero/xpcom/openPDF.js +++ b/chrome/content/zotero/xpcom/openPDF.js @@ -41,7 +41,7 @@ Zotero.OpenPDF = { // Zotero PDF reader if (!handler) { let location = { - annotationKey, + annotationID: annotationKey, pageIndex: page && page - 1 }; await Zotero.Reader.open(item.id, location);