From 30197a09d2b7496b89d4a98e61c54933fbb843bf Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Fri, 12 Aug 2022 15:36:54 -0400 Subject: [PATCH] Revert mistaken change from 26069a580a3ab686429b139e52cf7c4964e7caf0 Shouldn't have made it into that commit. --- chrome/content/zotero/elements/itemBox.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index 55ddd48e5b..3c95695763 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -970,20 +970,6 @@ removeButton.hidden = true; addButton.hidden = true; } - else { - // Alt+Up/Down to open the type menu - td.addEventListener('keydown', (event) => { - if ((event.key == 'ArrowUp' || event.key == 'ArrowDown') && event.altKey) { - document.popupNode = th; - this._creatorTypeMenu.openPopup(th); - // Stop propagation during capture phase so we prevent the event from showing the - // autocomplete field's popup - event.stopPropagation(); - } - }, true); - } - - td.ariaLabel = `${Zotero.getString('searchConditions.creator')}: ${label.textContent}`; this.addDynamicRow(th, td, true);