From 886dbd17ffd996a4cd42e5192695636d12edbfc3 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 5 Dec 2024 14:39:27 -0500 Subject: [PATCH] Abstract box: Use focused getter instead of :focus-within See b4c5c5d5391dbfbea3ad980ebdab796e08934157 Fixes #4878 --- chrome/content/zotero/elements/abstractBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/abstractBox.js b/chrome/content/zotero/elements/abstractBox.js index 659f096723..f2aad4f83c 100644 --- a/chrome/content/zotero/elements/abstractBox.js +++ b/chrome/content/zotero/elements/abstractBox.js @@ -96,7 +96,7 @@ } async blurOpenField() { - if (this._abstractField?.matches(':focus-within')) { + if (this._abstractField.focused) { this._abstractField.blur(); await this.save(); }