Fix account click on detailed status (#27587)
parent
15ef654e9a
commit
08bdd5751e
app/javascript/mastodon/features/status/components
|
@ -58,7 +58,7 @@ class DetailedStatus extends ImmutablePureComponent {
|
||||||
handleAccountClick = (e) => {
|
handleAccountClick = (e) => {
|
||||||
if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.props.history) {
|
if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.props.history) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.history.push(`/@${this.props.status.getIn(['account', 'acct'])}`);
|
this.props.history.push(`/@${this.props.status.getIn(['account', 'acct'])}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
Loading…
Reference in New Issue