From 6bba337080b3941f25643c7dc2fa4ec08632bd2b Mon Sep 17 00:00:00 2001 From: blackle Date: Wed, 25 Jan 2017 20:43:41 -0500 Subject: Only open status on left mouse press --- app/assets/javascripts/components/components/status_content.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit