From f2209974b28c273e55c581c450ed6536121be05f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 30 Mar 2022 14:13:04 -0400 Subject: [PATCH] Don't show "Export PDF" in reader Save As already exists --- chrome/content/zotero/standalone/standalone.js | 2 +- note-editor | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index 26ec8c7b42..2a525183cc 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -179,7 +179,7 @@ const ZoteroStandalone = new function() { let sep = menuitem.nextSibling; let zp = Zotero.getActiveZoteroPane(); - if (zp) { + if (zp && !reader) { let numFiles = zp.getSelectedItems().reduce((num, item) => { if (item.isPDFAttachment()) { return num + 1; diff --git a/note-editor b/note-editor index 581c56d27a..b985ba7d49 160000 --- a/note-editor +++ b/note-editor @@ -1 +1 @@ -Subproject commit 581c56d27a6ddb0ff26932bbf18176251a15b990 +Subproject commit b985ba7d498a6e076c64f959853502db890f6d20