about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-06-25 19:19:45 -0700
committerkibigo! <marrus-sh@users.noreply.github.com>2017-06-25 19:19:45 -0700
commita520b118e4653aa35a74eba6e1662dfc98fcd1cc (patch)
tree6d41da8c7637f6f43a2f0cf2fc16309d61cf3388 /app
parent38a1299975e867c637c73b9ee5439cff08d08e96 (diff)
Expand toot by clicking on body [fixed!]
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/components/status.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js
index aac3dcee3..d2ede6b2a 100644
--- a/app/javascript/mastodon/components/status.js
+++ b/app/javascript/mastodon/components/status.js
@@ -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'))}`);
   }