]> cat aescling's git repositories - mastodon.git/commitdiff
Fix loading more items in account following/followers
authorThibaut Girka <thib@sitedethib.com>
Wed, 4 Sep 2019 09:23:26 +0000 (11:23 +0200)
committerThibG <thib@sitedethib.com>
Wed, 4 Sep 2019 15:58:31 +0000 (17:58 +0200)
app/javascript/flavours/glitch/features/followers/index.js
app/javascript/flavours/glitch/features/following/index.js

index c57a2b1a203b5c1aeaf70ba42d1c4876d8960c19..0f04b9ddcda6fa692dcbe834703a1fb20bcfdfc1 100644 (file)
@@ -60,7 +60,6 @@ export default class Followers extends ImmutablePureComponent {
   }
 
   handleLoadMore = debounce(() => {
-    e.preventDefault();
     this.props.dispatch(expandFollowers(this.props.params.accountId));
   }, 300, { leading: true });
 
index b61f8398800c3656ab1c5e21d1e303b1f66b80db..279c27500c38e29aa8d3e9a6100d158b7b512ca7 100644 (file)
@@ -60,7 +60,6 @@ export default class Following extends ImmutablePureComponent {
   }
 
   handleLoadMore = debounce(() => {
-    e.preventDefault();
     this.props.dispatch(expandFollowing(this.props.params.accountId));
   }, 300, { leading: true });