From c01b3ae2704074cc5418f4c8345d43a42a70da95 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 11 May 2024 03:47:37 -0400 Subject: [PATCH] Don't use `[ztabindex]` in selector when finding metadata fields --- chrome/content/zotero/elements/itemBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index bad3ac7549..d1650e42d6 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -2284,7 +2284,7 @@ } focusField(fieldName) { - let field = this.querySelector(`[fieldname="${fieldName}"][ztabindex]`); + let field = this.querySelector(`editable-text[fieldname="${fieldName}"]`); if (!field) return false; return this._focusNextField(field.getAttribute('ztabindex')); }