mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Stop event propagation after IconButton onClick
This commit is contained in:
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
Block a user