diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-11 23:54:32 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-11 23:54:32 +0100 |
commit | 6e7e97c8492be61d6a4a04bc4e83d916ac69ec05 (patch) | |
tree | 2be6309cbc0428abf92abaf78949e5f98ba57b0c /app/assets/javascripts | |
parent | 73c142fb94213cb0316caba10e4b5e3ffa4e573f (diff) |
Fix metaKey usage
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 962f8feed..00589b3c8 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 || (e.metaKey && e.metaKey === '⌘-'))) { + if (e.keyCode === 13 && (e.ctrlKey || e.metaKey)) { this.props.onSubmit(); } }, |