diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index ff9aae741a..cb9e4e7e5e 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -296,19 +296,6 @@ const ZoteroStandalone = new function() { }; this.onFileMenuOpen = function () { - var active = false; - try { - let zp = Zotero.getActiveZoteroPane(); - if (zp) { - active = !!zp.getSelectedItems().filter((item) => { - return item.isAttachment() - || (item.isRegularItem() && item.getAttachments().length); - }).length; - } - } - catch (e) {} - this.updateMenuItemEnabled('manage-attachments-menu', active); - // PDF annotation transfer ("Import Annotation"/"Store Annotations in File") let reader = Zotero.Reader.getByTabID(Zotero_Tabs.selectedID); if (reader) {