mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 18:58:42 +00:00
Close suggestions when escape key pressed.
Fixes (Bug 43051) Change-Id: I5e6baeec62da49b10793f2ebe7d341697a63f9c4
This commit is contained in:
parent
112a22f820
commit
c9da8f61dd
|
@ -312,6 +312,10 @@
|
|||
}
|
||||
return;
|
||||
}
|
||||
// Escape
|
||||
} else if ( e.which === 27 ) {
|
||||
close();
|
||||
return;
|
||||
// Normal input.
|
||||
} else {
|
||||
onInput();
|
||||
|
|
Loading…
Reference in a new issue