Expand toot by clicking on body [fixed!]
This commit is contained in:
parent
38a1299975
commit
a520b118e4
@ -153,7 +153,8 @@ class StatusUnextended extends ImmutablePureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleClick = () => {
|
handleClick = () => {
|
||||||
const { status, isCollapsed } = this.props;
|
const { status } = this.props;
|
||||||
|
const { isCollapsed } = this.state;
|
||||||
if (isCollapsed) this.handleCollapsedClick();
|
if (isCollapsed) this.handleCollapsedClick();
|
||||||
else this.context.router.history.push(`/statuses/${status.getIn(['reblog', 'id'], status.get('id'))}`);
|
else this.context.router.history.push(`/statuses/${status.getIn(['reblog', 'id'], status.get('id'))}`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user