about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-11 23:54:32 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-11 23:54:32 +0100
commit6e7e97c8492be61d6a4a04bc4e83d916ac69ec05 (patch)
tree2be6309cbc0428abf92abaf78949e5f98ba57b0c /app
parent73c142fb94213cb0316caba10e4b5e3ffa4e573f (diff)
Fix metaKey usage
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/components/features/compose/components/compose_form.jsx2
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();
     }
   },