Browse Source

Merge pull request #536 from blackle/leftclick

Only open status on left mouse press
closed-social-v3
Eugen 7 years ago
committed by GitHub
parent
commit
0a391a2872
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/components/status_content.jsx

+ 1
- 1
app/assets/javascripts/components/components/status_content.jsx View File

@ -69,7 +69,7 @@ const StatusContent = React.createClass({
return;
}
if (deltaX + deltaY < 5) {
if (deltaX + deltaY < 5 && e.button === 0) {
this.props.onClick();
}

Loading…
Cancel
Save