From f24297338421ba7ae21e3a0a116018343bdbbdc5 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Sat, 12 Mar 2022 02:20:11 +0100 Subject: [PATCH] Correctly show the "No rSS feed was found" message Signed-off-by: Juraj Oravec --- rssfinder/finder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rssfinder/finder.js b/rssfinder/finder.js index 209af75..aed4c89 100644 --- a/rssfinder/finder.js +++ b/rssfinder/finder.js @@ -34,7 +34,7 @@ for (link of links) { } } -if (links.length == 0) { +if (availableLinks.length == 0) { availableLinks.push({ title: 'No RSS feed was found', url: 'No URL is provided'