fx-compat: Add by Identifier: Prevent expand after invalid ID input
This commit is contained in:
parent
85e13dc3ee
commit
d653ec817c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue