From 58f5e188e37d6b5e507fedbd390e763c4dadec36 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Sat, 7 Sep 2024 11:28:50 +0200 Subject: [PATCH] Fix viewing duplicate items does not change item pane splitter state --- chrome/content/zotero/elements/itemPane.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/elements/itemPane.js b/chrome/content/zotero/elements/itemPane.js index a430e1d907..de0045d0ae 100644 --- a/chrome/content/zotero/elements/itemPane.js +++ b/chrome/content/zotero/elements/itemPane.js @@ -566,6 +566,9 @@ case "duplicates": { this._deck.selectedIndex = 3; this.removeAttribute("collapsed"); + if (this.previousElementSibling.localName === "splitter") { + this.previousElementSibling.setAttribute("state", "open"); + } break; } }