Browse Source

Expand toot by clicking on body [fixed!]

closed-social-glitch-2
kibigo! 7 years ago
parent
commit
a520b118e4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/javascript/mastodon/components/status.js

+ 2
- 1
app/javascript/mastodon/components/status.js View File

@ -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…
Cancel
Save