logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 7be620775eef7fe73a32c5507b59ae7c8f560517
parent: 4c76402ba1d355061e7e208b7a2f8251388a38e1
Author: MitarashiDango <MitarashiDango@users.noreply.github.com>
Date:   Tue, 29 Aug 2017 23:11:28 +0900

fix error when single columns mode. (#4734)


Diffstat:

Mapp/javascript/mastodon/features/ui/components/columns_area.js4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app/javascript/mastodon/features/ui/components/columns_area.js b/app/javascript/mastodon/features/ui/components/columns_area.js @@ -57,7 +57,9 @@ export default class ColumnsArea extends ImmutablePureComponent { } handleChildrenContentChange() { - scrollRight(this.node); + if (!this.props.singleColumn) { + scrollRight(this.node); + } } handleSwipe = (index) => {