Fix metaKey usage

th-downstream
Eugen Rochko 8 years ago
parent 534240240d
commit fd1773c495

@ -95,7 +95,7 @@ const ComposeForm = React.createClass({
}, },
handleKeyUp (e) { handleKeyUp (e) {
if (e.keyCode === 13 && (e.ctrlKey || (e.metaKey && e.metaKey === '⌘-'))) { if (e.keyCode === 13 && (e.ctrlKey || e.metaKey)) {
this.props.onSubmit(); this.props.onSubmit();
} }
}, },

Loading…
Cancel
Save