do not focus contextPane after it's opened (#3728)

When contextPane is toggled open, keep the focused element unchanged

Fixes: #3716
This commit is contained in:
abaevbog 2024-02-22 02:36:51 -05:00 committed by GitHub
parent b15fb36f1b
commit 26fd57398c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -376,10 +376,6 @@ var ZoteroContextPane = new function () {
splitter.setAttribute('state', open ? 'open' : 'collapsed');
_update();
if (open) {
ZoteroContextPane.focus();
}
}
function _getCurrentAttachment() {