mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-28 19:10:22 -05:00
Clicking on a collapsed toot just uncollapses it.
This commit is contained in:
parent
6a50e73089
commit
e60f27d649
@ -153,8 +153,9 @@ class StatusUnextended extends ImmutablePureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleClick = () => {
|
handleClick = () => {
|
||||||
const { status } = this.props;
|
const { status, isCollapsed } = this.props;
|
||||||
this.context.router.history.push(`/statuses/${status.getIn(['reblog', 'id'], status.get('id'))}`);
|
if (isCollapsed) this.handleCollapsedClick();
|
||||||
|
else this.context.router.history.push(`/statuses/${status.getIn(['reblog', 'id'], status.get('id'))}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
handleAccountClick = (e) => {
|
handleAccountClick = (e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user