about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2016-09-16 11:20:39 +0200
committerGitHub <noreply@github.com>2016-09-16 11:20:39 +0200
commite906677092ca2f38abd918436ea5967c096d555f (patch)
treebb7367c191077868d8ba870726433b911d230860
parent4f25e3d042fa92ba39cd3994c1de72193b2b9eb0 (diff)
Stop event propagation after IconButton onClick
-rw-r--r--app/assets/javascripts/components/components/icon_button.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/components/icon_button.jsx b/app/assets/javascripts/components/components/icon_button.jsx
index b41752890..b7f2366ba 100644
--- a/app/assets/javascripts/components/components/icon_button.jsx
+++ b/app/assets/javascripts/components/components/icon_button.jsx
@@ -22,6 +22,7 @@ const IconButton = React.createClass({
   handleClick (e) {
     e.preventDefault();
     this.props.onClick();
+    e.stopPropagation();
   },
 
   render () {