1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Fix metaKey usage

This commit is contained in:
Eugen Rochko 2016-12-11 23:54:32 +01:00
parent 73c142fb94
commit 6e7e97c849

View file

@ -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();
}
},