fx-compat: Add by Identifier: Prevent expand after invalid ID input

This commit is contained in:
Abe Jellinek 2022-08-22 12:51:35 -04:00
parent 85e13dc3ee
commit d653ec817c

View file

@ -210,7 +210,7 @@ var Zotero_Lookup = new function () {
if(keyCode === 13 || keyCode === 14) {
if(search) {
Zotero_Lookup.accept(textBox);
event.stopImmediatePropagation();
event.preventDefault();
} else if(!multiline) { // switch to multiline
Zotero_Lookup.setMultiline(true);
}