logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 5ee45fa5715af356f422a3b768359a52d94f4b79
parent: 61a06eb328aa8c43487fcfd2529b9699b357b8c3
Author: MitarashiDango <MitarashiDango@users.noreply.github.com>
Date:   Sun,  6 Aug 2017 03:33:41 +0900

fix columns_area.js (#4528)


Diffstat:

Mapp/javascript/mastodon/features/ui/components/columns_area.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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); } }