From dd19cf58cce7cbdfdccc3530e94cb4501e21e60c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 29 Sep 2025 14:42:56 -0400 Subject: [PATCH] Hide file renaming banner if "Learn More" is clicked --- chrome/content/zotero/zoteroPane.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 0f74e33816..4850b26c4a 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -6713,6 +6713,12 @@ var ZoteroPane = new function () { document.getElementById('file-renaming-documentation-link').onclick = () => { Zotero.launchURL("https://www.zotero.org/support/file_renaming"); + // Do this in the next loop to avoid a visual glitch in Fx140.3 where the background + // color of the banner remains in part of the item pane header until switching to a + // different tab and back + setTimeout(() => { + this.hideFileRenamingBanner(); + }); }; this.document.getElementById('file-renaming-banner-close').onclick = () => {