From 0f866d6d334da9e890ede5aaae0b6da7e5ddc79a Mon Sep 17 00:00:00 2001
From: windingwind <33902321+windingwind@users.noreply.github.com>
Date: Fri, 16 Aug 2024 14:10:33 +0800
Subject: [PATCH] Fix Context Pane doesn't work in stack mode (#4578)

fix: #4577
---
 chrome/content/zotero/contextPane.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/chrome/content/zotero/contextPane.js b/chrome/content/zotero/contextPane.js
index 65297d690b..6eea8c82a8 100644
--- a/chrome/content/zotero/contextPane.js
+++ b/chrome/content/zotero/contextPane.js
@@ -190,6 +190,7 @@ var ZoteroContextPane = new function () {
 			open = false;
 		}
 	
+		_contextPane.setAttribute('collapsed', !open);
 		splitter.setAttribute('state', open ? 'open' : 'collapsed');
 		_update();
 	}