diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-09-16 12:15:58 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-09-16 12:41:20 +0200 |
commit | 657805f444ffd8d1cc0a36e0c37276a01611dc26 (patch) | |
tree | e6ae40c7b605b8297bcaa731059ae9ce79fa5a21 /app/javascript/flavours/glitch/features/status | |
parent | 8433bd89e431d5834e4252c7ca197771944aa6d1 (diff) |
Fix thread CW expansion not being reset when changing threads
Diffstat (limited to 'app/javascript/flavours/glitch/features/status')
-rw-r--r-- | app/javascript/flavours/glitch/features/status/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/status/index.js b/app/javascript/flavours/glitch/features/status/index.js index 3d309976a..33a7bd075 100644 --- a/app/javascript/flavours/glitch/features/status/index.js +++ b/app/javascript/flavours/glitch/features/status/index.js @@ -103,7 +103,7 @@ export default class Status extends ImmutablePureComponent { if (nextProps.params.statusId !== this.props.params.statusId && nextProps.params.statusId) { this._scrolledIntoView = false; this.props.dispatch(fetchStatus(nextProps.params.statusId)); - this.setState({ isExpanded: autoUnfoldCW(nextProps.settings, nextProps.status) }); + this.setState({ isExpanded: autoUnfoldCW(nextProps.settings, nextProps.status), threadExpanded: undefined }); } } |