mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 14:05:11 +01:00
Merge pull request #536 from blackle/leftclick
Only open status on left mouse press
This commit is contained in:
commit
0a391a2872
@ -69,7 +69,7 @@ const StatusContent = React.createClass({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (deltaX + deltaY < 5) {
|
if (deltaX + deltaY < 5 && e.button === 0) {
|
||||||
this.props.onClick();
|
this.props.onClick();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user