mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
Stop event propagation after IconButton onClick
This commit is contained in:
parent
4f25e3d042
commit
e906677092
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ const IconButton = React.createClass({
|
||||||
handleClick (e) {
|
handleClick (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.props.onClick();
|
this.props.onClick();
|
||||||
|
e.stopPropagation();
|
||||||
},
|
},
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
|
|
Loading…
Reference in a new issue