Stop event propagation after IconButton onClick

master
Eugen 8 years ago committed by GitHub
parent 4f25e3d042
commit e906677092
  1. 1
      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 () {

Loading…
Cancel
Save