diff options
| author | wn_ <invalid@email.com> | 2018-03-11 14:35:36 -0500 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2018-03-11 14:35:36 -0500 |
| commit | 30aa9743eb14cfb7a4ce7ea38136171617963876 (patch) | |
| tree | 5e15ce615cc881cc34a76e50abfe907308cb5b93 | |
| parent | f60ca3a3498affe7b07e8f443540784984d0e0b0 (diff) | |
strict js: fix subscribing when HTML with multiple feeds
also a minor fix for response handling in quickAddFilter
| -rwxr-xr-x | js/functions.js | 4 |
1 files 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()) { |