Fix metaKey usage
parent
534240240d
commit
fd1773c495
|
@ -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…
Reference in New Issue