From f8ac57bdb1f48f770fa057cd8d1368208a4a2318 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Mon, 1 Aug 2022 15:22:25 -0400 Subject: [PATCH] fx-compat: Don't focus dropdown in quick search textbox To match old behavior and fix autofocus. --- chrome/content/zotero/elements/quickSearchTextbox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/elements/quickSearchTextbox.js b/chrome/content/zotero/elements/quickSearchTextbox.js index 52823ddaf5..f8e8f333b9 100644 --- a/chrome/content/zotero/elements/quickSearchTextbox.js +++ b/chrome/content/zotero/elements/quickSearchTextbox.js @@ -68,6 +68,7 @@ let dropmarker = document.createXULElement('button'); dropmarker.id = "zotero-tb-search-menu-button"; + dropmarker.tabIndex = -1; dropmarker.setAttribute("type", "menu"); dropmarker.append(this.searchModePopup);