fixup esc key binding

This commit is contained in:
Brandon Thomas committed 2016-02-11 06:57:50 -05:00
1 parent c10819df72
commit 203bafb79e
1 file changed
+3
+3
View File
@@ -21,6 +21,9 @@
if (ev.keyCode === 27) {
// Handle ESC key.
$('input').select();
Ui.clearInput();
Ui.clearSuggestedWords();
Ui.setFromInput('');
}
},