QuotedStatus: stopPropogation
This commit is contained in:
@ -39,6 +39,7 @@ class QuotedStatus extends ImmutablePureComponent<IQuotedStatus> {
|
||||
|
||||
this.props.history.push(`/@${account.acct}/posts/${status.id}`);
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
}
|
||||
}
|
||||
@ -153,4 +154,4 @@ class QuotedStatus extends ImmutablePureComponent<IQuotedStatus> {
|
||||
|
||||
}
|
||||
|
||||
export default withRouter(injectIntl(QuotedStatus) as any);
|
||||
export default withRouter(injectIntl(QuotedStatus) as any);
|
||||
|
||||
Reference in New Issue
Block a user