FIX: Make sure we hide popup menu options on esc.
This commit is contained in:
parent
58b7f214b0
commit
a053caeda4
|
@ -71,6 +71,7 @@ const ComposerView = Ember.View.extend({
|
|||
keyDown(e) {
|
||||
if (e.which === 27) {
|
||||
this.get('controller').send('hitEsc');
|
||||
this.get('controller').send('hideOptions');
|
||||
return false;
|
||||
} else if (e.which === 13 && (e.ctrlKey || e.metaKey)) {
|
||||
// CTRL+ENTER or CMD+ENTER
|
||||
|
|
Loading…
Reference in New Issue