about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorMitarashiDango <MitarashiDango@users.noreply.github.com>2017-08-06 03:33:41 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-08-05 20:33:41 +0200
commit5ee45fa5715af356f422a3b768359a52d94f4b79 (patch)
tree410995f4fb9d91a5d430835691615eb49f6a863b /app/javascript
parent61a06eb328aa8c43487fcfd2529b9699b357b8c3 (diff)
fix columns_area.js (#4528)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/ui/components/columns_area.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/columns_area.js b/app/javascript/mastodon/features/ui/components/columns_area.js
index 7652d67a0..47d5a2e20 100644
--- a/app/javascript/mastodon/features/ui/components/columns_area.js
+++ b/app/javascript/mastodon/features/ui/components/columns_area.js
@@ -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);
     }
   }