Merge branch 'master' into themes
This commit is contained in:
commit
170b436705
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ class ComposeForm extends ImmutablePureComponent {
|
|||
handleKeyDown = (e) => {
|
||||
if (e.keyCode === 13 && (e.ctrlKey || e.metaKey)) {
|
||||
this.handleSubmit();
|
||||
e.preventDefault(); // Prevent bubbling to other ComposeForm instances
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue