diff options
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/components/features/compose/components/compose_form.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/compose/components/compose_form.jsx b/app/assets/javascripts/components/features/compose/components/compose_form.jsx index 12efdf617..962f8feed 100644 --- a/app/assets/javascripts/components/features/compose/components/compose_form.jsx +++ b/app/assets/javascripts/components/features/compose/components/compose_form.jsx @@ -95,7 +95,7 @@ const ComposeForm = React.createClass({ }, handleKeyUp (e) { - if (e.keyCode === 13 && e.ctrlKey) { + if (e.keyCode === 13 && (e.ctrlKey || (e.metaKey && e.metaKey === '⌘-'))) { this.props.onSubmit(); } }, |