Browse Source

fix columns_area.js (#4528)

master
MitarashiDango 7 years ago
committed by Eugen Rochko
parent
commit
5ee45fa571
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/ui/components/columns_area.js

+ 1
- 1
app/javascript/mastodon/features/ui/components/columns_area.js View File

@ -55,7 +55,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
this.lastIndex = getIndex(this.context.router.history.location.pathname);
this.setState({ shouldAnimate: true });
if (this.props.children !== prevProps.children) {
if (this.props.children !== prevProps.children && !this.props.singleColumn) {
scrollRight(this.node);
}
}

Loading…
Cancel
Save