From 60d27b430256e7145e06d49371de439f9696fee6 Mon Sep 17 00:00:00 2001 From: Ondřej Hruška Date: Tue, 11 Jul 2017 20:48:31 +0200 Subject: Fixed #66 disabling collapse collapses all toots --- app/javascript/mastodon/components/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index f899c7c64..e19f194b8 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -238,7 +238,7 @@ uncollapse our status accordingly. componentWillReceiveProps (nextProps) { if (!nextProps.settings.getIn(['collapsed', 'enabled'])) { - this.setExpansion(false); + this.setExpansion(true); } else if ( nextProps.collapse !== this.props.collapse && nextProps.collapse !== undefined -- cgit