diff options
Diffstat (limited to 'scripts/cssa-webring.js')
-rw-r--r-- | scripts/cssa-webring.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/cssa-webring.js b/scripts/cssa-webring.js index a04a1d6..749b23d 100644 --- a/scripts/cssa-webring.js +++ b/scripts/cssa-webring.js @@ -6,11 +6,7 @@ function load_random_site() { .then((obj) => { const entries = obj; // TODO: remove myself from the list const entries_cleaned = obj.filter((item) => { - console.log(item); - return !item.isEqual({ - name: "jjanzen's website", - url: "https://jjanzen.ca", - }); + return item.url !== "https://jjanzen.ca"; }); console.log(entries_cleaned); const entry = entries[Math.floor(Math.random() * entries.length)]; |