FIX: regression, ESC is not captured correctly

This commit is contained in:
Sam 2014-11-01 18:30:47 +11:00
parent 5ddb82c9b6
commit 9d43e0ae0c
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ export default function(options) {
}
// ESC
if (e.which === keys.escape) {
if (e.which === keys.esc) {
if (completeStart !== null) {
closeAutocomplete();
return false;