Skip to content

Commit

Permalink
Removed because InstantSearch adds tags to query.
Browse files Browse the repository at this point in the history
There is no need to apply the filter, because all newly loaded posts
will already satisfy it
  • Loading branch information
Earlopain committed Mar 21, 2020
1 parent 1a5e973 commit 9bceac4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/js/modules/InfiniteScroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}

Expand Down

0 comments on commit 9bceac4

Please sign in to comment.