From 9bceac45249053f219d6190bd1e20ece5bec421c Mon Sep 17 00:00:00 2001 From: Earlopain Date: Sat, 21 Mar 2020 21:00:05 +0100 Subject: [PATCH] Removed because InstantSearch adds tags to query. There is no need to apply the filter, because all newly loaded posts will already satisfy it --- src/js/modules/InfiniteScroll.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/js/modules/InfiniteScroll.ts b/src/js/modules/InfiniteScroll.ts index 93cd42b0..0f2c43f9 100644 --- a/src/js/modules/InfiniteScroll.ts +++ b/src/js/modules/InfiniteScroll.ts @@ -57,9 +57,6 @@ export class InfiniteScroll extends RE6Module { this.pagesLeft = posts.length !== 0; this.isInProgress = false; Url.setQueryParameter("page", this.nextPageToGet.toString()); - //TODO check if the module is enabled - //Currently getInstance will create the module, if it wasn't there already - InstantSearch.getInstance().applyFilter(); this.nextPageToGet++; }