Revert mistaken change from 26069a580a

Shouldn't have made it into that commit.
This commit is contained in:
Abe Jellinek 2022-08-12 15:36:54 -04:00
parent fc86bdb55c
commit 30197a09d2

View file

@ -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);