mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 03:43:42 +01:00
Disable account linking on collapsed toots too
This commit is contained in:
parent
5df7bc3a8b
commit
59503a88ae
1 changed files with 2 additions and 1 deletions
|
@ -169,7 +169,8 @@ class StatusUnextended extends ImmutablePureComponent {
|
|||
if (e.button === 0) {
|
||||
const id = Number(e.currentTarget.getAttribute('data-id'));
|
||||
e.preventDefault();
|
||||
this.context.router.history.push(`/accounts/${id}`);
|
||||
if (this.state.isCollapsed) this.handleCollapsedClick();
|
||||
else this.context.router.history.push(`/accounts/${id}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue