mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Stop event propagation after IconButton onClick
This commit is contained in:
@@ -22,6 +22,7 @@ const IconButton = React.createClass({
|
||||
handleClick (e) {
|
||||
e.preventDefault();
|
||||
this.props.onClick();
|
||||
e.stopPropagation();
|
||||
},
|
||||
|
||||
render () {
|
||||
|
||||
Reference in New Issue
Block a user