Revert mistaken change from 26069a580a
Shouldn't have made it into that commit.
This commit is contained in:
parent
fc86bdb55c
commit
30197a09d2
1 changed files with 0 additions and 14 deletions
|
@ -970,20 +970,6 @@
|
||||||
removeButton.hidden = true;
|
removeButton.hidden = true;
|
||||||
addButton.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);
|
this.addDynamicRow(th, td, true);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue