From 9d43e0ae0cea073c34f25a821643efe493f43c91 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 1 Nov 2014 18:30:47 +1100 Subject: [PATCH] FIX: regression, ESC is not captured correctly --- app/assets/javascripts/discourse/lib/autocomplete.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/autocomplete.js.es6 b/app/assets/javascripts/discourse/lib/autocomplete.js.es6 index a79d76c99a9..c945e37a47c 100644 --- a/app/assets/javascripts/discourse/lib/autocomplete.js.es6 +++ b/app/assets/javascripts/discourse/lib/autocomplete.js.es6 @@ -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;