FIX: regression, ESC is not captured correctly
This commit is contained in:
parent
5ddb82c9b6
commit
9d43e0ae0c
|
@ -331,7 +331,7 @@ export default function(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ESC
|
// ESC
|
||||||
if (e.which === keys.escape) {
|
if (e.which === keys.esc) {
|
||||||
if (completeStart !== null) {
|
if (completeStart !== null) {
|
||||||
closeAutocomplete();
|
closeAutocomplete();
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue