diff options
author | blackle <isabelle@blackle-mori.com> | 2017-01-25 20:43:41 -0500 |
---|---|---|
committer | blackle <isabelle@blackle-mori.com> | 2017-01-25 20:43:41 -0500 |
commit | 6bba337080b3941f25643c7dc2fa4ec08632bd2b (patch) | |
tree | 870dd44ba5182f51fd1300c70cbc473cc7bee5a8 | |
parent | 97da56d02bbe9c0f3aca8f46fcb7bf8635a9e784 (diff) |
Only open status on left mouse press
-rw-r--r-- | app/assets/javascripts/components/components/status_content.jsx | 2 |
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(); } |