Merge pull request #536 from blackle/leftclick

Only open status on left mouse press
main
Eugen 2017-01-26 02:50:55 +01:00 committed by GitHub
commit 0a391a2872
1 changed files with 1 additions and 1 deletions

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