From 26fd57398c2c4d64af2e0db6170a941c330c2a6e Mon Sep 17 00:00:00 2001 From: abaevbog Date: Thu, 22 Feb 2024 02:36:51 -0500 Subject: [PATCH] do not focus contextPane after it's opened (#3728) When contextPane is toggled open, keep the focused element unchanged Fixes: #3716 --- chrome/content/zotero/contextPane.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chrome/content/zotero/contextPane.js b/chrome/content/zotero/contextPane.js index d32f0e3d50..e9e43f2c5a 100644 --- a/chrome/content/zotero/contextPane.js +++ b/chrome/content/zotero/contextPane.js @@ -376,10 +376,6 @@ var ZoteroContextPane = new function () { splitter.setAttribute('state', open ? 'open' : 'collapsed'); _update(); - - if (open) { - ZoteroContextPane.focus(); - } } function _getCurrentAttachment() {