From 30aa9743eb14cfb7a4ce7ea38136171617963876 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 11 Mar 2018 14:35:36 -0500 Subject: [PATCH] strict js: fix subscribing when HTML with multiple feeds also a minor fix for response handling in quickAddFilter --- js/functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/functions.js b/js/functions.js index 6c0b97cb8..c0e25cae3 100755 --- a/js/functions.js +++ b/js/functions.js @@ -646,7 +646,7 @@ function quickAddFeed() { dialog.show_error(__("Specified URL doesn't seem to contain any feeds.")); break; case 4: - feeds = rc['feeds']; + var feeds = rc['feeds']; Element.show("fadd_multiple_notify"); @@ -1032,7 +1032,7 @@ function quickAddFilter() { var title = false; - if (reply && reply) title = reply.title; + if (reply && reply.title) title = reply.title; if (title || getActiveFeedId() || activeFeedIsCat()) {