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