about summary refs log tree commit diff
path: root/app/javascript/mastodon
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-12-17 17:02:59 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-12-17 17:02:59 +0100
commit4ede51743e5b9121a49e9131f91cf012fab410f8 (patch)
tree92bdf56eb269e9984f58fcacd888721396605510 /app/javascript/mastodon
parent3281df0df1eb83e77d5c3028537be2669eebd69c (diff)
Minor scrollable list fixes (#9551)
* Make sure loading indicator has enough vertical space

* Respect reduce_motion setting for loading indicator
Diffstat (limited to 'app/javascript/mastodon')
-rw-r--r--app/javascript/mastodon/features/account_gallery/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/account_gallery/index.js b/app/javascript/mastodon/features/account_gallery/index.js
index 0d66868ed..96051818b 100644
--- a/app/javascript/mastodon/features/account_gallery/index.js
+++ b/app/javascript/mastodon/features/account_gallery/index.js
@@ -103,7 +103,7 @@ class AccountGallery extends ImmutablePureComponent {
       );
     }
 
-    if (hasMore) {
+    if (hasMore && !(isLoading && medias.size === 0)) {
       loadOlder = <LoadMore visible={!isLoading} onClick={this.handleLoadOlder} />;
     }