From bf9e5d3a83230d197a617e7878673e85d6956c66 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 19 Dec 2025 16:00:57 -0500 Subject: [PATCH] Don't try to hide/show Retracted Items if ZoteroPane is still loading --- chrome/content/zotero/xpcom/retractions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/retractions.js b/chrome/content/zotero/xpcom/retractions.js index 4accc2b6d6..430f2a6a35 100644 --- a/chrome/content/zotero/xpcom/retractions.js +++ b/chrome/content/zotero/xpcom/retractions.js @@ -306,6 +306,7 @@ Zotero.Retractions = { || (current && !Zotero.Prefs.getVirtualCollectionStateForLibrary(libraryID, 'retracted')))) { let promises = []; for (let zp of Zotero.getZoteroPanes()) { + if (!zp.loaded) continue; promises.push(zp.setVirtual(libraryID, 'retracted', current)); zp.hideRetractionBanner(); }