From eac46e422cb3326f4464170f4b9c63eee6c07111 Mon Sep 17 00:00:00 2001 From: Tobiah Date: Tue, 14 Apr 2020 07:34:11 -0500 Subject: [PATCH] fix: first load filter not working. closes #190 --- src/FeedManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FeedManager.js b/src/FeedManager.js index 509373d..34d6b02 100644 --- a/src/FeedManager.js +++ b/src/FeedManager.js @@ -67,7 +67,7 @@ class FeedManager { this.feed.updateHxLength(items); this.sortItemsByDate(data); this.identifyNewItems(data); - this.populateNewItemsInFeed(data); + this.populateNewItemsInFeed(data, firstload); if (firstload && !this.instance.skipFirstLoad) { this.instance.emit(`initial-load:${this.feed.url}`, { url: this.feed.url, items: this.feed.items }); }