From 8b37a9889a8201724e771f84994f05687ebcbd1b Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Tue, 9 Apr 2024 20:36:28 +0800 Subject: [PATCH] Hide item notes in reader fix: #3941 --- chrome/content/zotero/elements/notesBox.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/elements/notesBox.js b/chrome/content/zotero/elements/notesBox.js index fd0407c34d..531265876d 100644 --- a/chrome/content/zotero/elements/notesBox.js +++ b/chrome/content/zotero/elements/notesBox.js @@ -53,6 +53,10 @@ import { getCSSItemTypeIcon } from 'components/icons'; } set item(val) { + if (this.tabType !== "library") { + this.hidden = true; + return; + } if (val?.isRegularItem() && !val?.isFeedItem) { this.hidden = false; }