diff --git a/chrome/content/zotero/elements/tagsBox.js b/chrome/content/zotero/elements/tagsBox.js index 2b909e3f89..ec2fd8096b 100644 --- a/chrome/content/zotero/elements/tagsBox.js +++ b/chrome/content/zotero/elements/tagsBox.js @@ -59,7 +59,7 @@ let removeAllItemTags = this._id('remove-all-item-tags'); this._id('remove-all-item-tags').addEventListener('command', this.removeAll); this.querySelector('.body').addEventListener('contextmenu', (event) => { - removeAllItemTags.disabled = !this.count; + removeAllItemTags.disabled = !this.editable || !this.count; this._id('tags-context-menu').openPopupAtScreen(event.screenX, event.screenY, true); }); // Register our observer with priority 101 (after Zotero.Tags) so we get updated tag colors