mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-15 22:32:13 +00:00
fixup esc key binding
This commit is contained in:
1 parent
c10819df72
commit
203bafb79e
1 file changed
+3
@@ -21,6 +21,9 @@
|
||||
if (ev.keyCode === 27) {
|
||||
// Handle ESC key.
|
||||
$('input').select();
|
||||
Ui.clearInput();
|
||||
Ui.clearSuggestedWords();
|
||||
Ui.setFromInput('');
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user