Expand toot by clicking on body [fixed!]

lolsob-rspec
kibigo! 2017-06-25 19:19:45 -07:00
parent d9cb3941d8
commit 734d681fe8
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ class StatusUnextended extends ImmutablePureComponent {
}
handleClick = () => {
const { status, isCollapsed } = this.props;
const { status } = this.props;
const { isCollapsed } = this.state;
if (isCollapsed) this.handleCollapsedClick();
else this.context.router.history.push(`/statuses/${status.getIn(['reblog', 'id'], status.get('id'))}`);
}