Fix metaKey usage

master
Eugen Rochko 8 years ago
parent 73c142fb94
commit 6e7e97c849
  1. 2
      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();
}
},

Loading…
Cancel
Save