about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-26 02:50:55 +0100
committerGitHub <noreply@github.com>2017-01-26 02:50:55 +0100
commit0a391a2872ada27019b654c5f3a084cad444fdc7 (patch)
tree870dd44ba5182f51fd1300c70cbc473cc7bee5a8 /app
parent97da56d02bbe9c0f3aca8f46fcb7bf8635a9e784 (diff)
parent6bba337080b3941f25643c7dc2fa4ec08632bd2b (diff)
Merge pull request #536 from blackle/leftclick
Only open status on left mouse press
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/components/components/status_content.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/components/status_content.jsx b/app/assets/javascripts/components/components/status_content.jsx
index 476e228a3..521b557f0 100644
--- a/app/assets/javascripts/components/components/status_content.jsx
+++ b/app/assets/javascripts/components/components/status_content.jsx
@@ -69,7 +69,7 @@ const StatusContent = React.createClass({
       return;
     }
 
-    if (deltaX + deltaY < 5) {
+    if (deltaX + deltaY < 5 && e.button === 0) {
       this.props.onClick();
     }