Browse Source

Fixed #66 disabling collapse collapses all toots

closed-social-glitch-2
Ondřej Hruška 7 years ago
parent
commit
60d27b4302
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/components/status.js

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

@ -238,7 +238,7 @@ uncollapse our status accordingly.
componentWillReceiveProps (nextProps) { componentWillReceiveProps (nextProps) {
if (!nextProps.settings.getIn(['collapsed', 'enabled'])) { if (!nextProps.settings.getIn(['collapsed', 'enabled'])) {
this.setExpansion(false);
this.setExpansion(true);
} else if ( } else if (
nextProps.collapse !== this.props.collapse && nextProps.collapse !== this.props.collapse &&
nextProps.collapse !== undefined nextProps.collapse !== undefined

Loading…
Cancel
Save