about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/lists
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-01 19:17:17 +0200
committerGitHub <noreply@github.com>2019-08-01 19:17:17 +0200
commit2dee293c4c98486d387105224023fad02b8b0d96 (patch)
treeea40adfa08da1bf5f478c370f10b17c3024f0f40 /app/javascript/mastodon/features/lists
parent8b9d0a05337b6bcf57b51abf45e21d9474bf2684 (diff)
Fix scroll to top in single column UI (#11463)
Diffstat (limited to 'app/javascript/mastodon/features/lists')
-rw-r--r--app/javascript/mastodon/features/lists/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/lists/index.js b/app/javascript/mastodon/features/lists/index.js
index a06e0b934..7f7f5009c 100644
--- a/app/javascript/mastodon/features/lists/index.js
+++ b/app/javascript/mastodon/features/lists/index.js
@@ -61,7 +61,7 @@ class Lists extends ImmutablePureComponent {
     const emptyMessage = <FormattedMessage id='empty_column.lists' defaultMessage="You don't have any lists yet. When you create one, it will show up here." />;
 
     return (
-      <Column icon='list-ul' heading={intl.formatMessage(messages.heading)}>
+      <Column bindToDocument={!multiColumn} icon='list-ul' heading={intl.formatMessage(messages.heading)}>
         <ColumnBackButtonSlim />
 
         <NewListForm />