1
0
Fork 0
forked from fedi/mastodon

Merge pull request #536 from blackle/leftclick

Only open status on left mouse press
This commit is contained in:
Eugen 2017-01-26 02:50:55 +01:00 committed by GitHub
commit 0a391a2872

View file

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