about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-07-11 20:48:31 +0200
committerOndřej Hruška <ondra@ondrovo.com>2017-07-11 20:48:31 +0200
commit60d27b430256e7145e06d49371de439f9696fee6 (patch)
treee985010cf985f1a0fec6ef2704b6ae87957f2f4d /app/javascript
parent08d19778d57f8e6f23e0b1531f98220a02c0d07a (diff)
Fixed #66 disabling collapse collapses all toots
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/components/status.js2
1 files changed, 1 insertions, 1 deletions
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