forked from treehouse/mastodon
Stop event propagation after IconButton onClick
parent
4f25e3d042
commit
e906677092
|
@ -22,6 +22,7 @@ const IconButton = React.createClass({
|
|||
handleClick (e) {
|
||||
e.preventDefault();
|
||||
this.props.onClick();
|
||||
e.stopPropagation();
|
||||
},
|
||||
|
||||
render () {
|
||||
|
|
Loading…
Reference in New Issue