From 4b8fc7aac5e550dee0830f66a85ee7567fb0bf87 Mon Sep 17 00:00:00 2001 From: David Colarusso Date: Sat, 16 Sep 2023 20:25:24 -0400 Subject: [PATCH] dedup feeds --- js/functions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/functions.js b/js/functions.js index ab19f04..2d3053e 100644 --- a/js/functions.js +++ b/js/functions.js @@ -251,6 +251,7 @@ document.addEventListener("DOMContentLoaded", function() { var ratings_std = 0; function updateFeedList(loadFeeds = false, singlefeed="") { + rssFeeds = removeDuplicates(rssFeeds); localStorage.setItem("feeds", JSON.stringify(rssFeeds)); let upTFIDF = JSON.parse(localStorage.getItem("upTFIDF")) || {}; let downTFIDF = JSON.parse(localStorage.getItem("downTFIDF")) || {};