]> git.wh0rd.org - tt-rss.git/commitdiff
Merge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode
authorfox <fox+git@fakecake.org>
Mon, 12 Mar 2018 05:00:35 +0000 (05:00 +0000)
committerGogs <gogs@fake.local>
Mon, 12 Mar 2018 05:00:35 +0000 (05:00 +0000)
js/functions.js

index 6c0b97cb8fff54070599e7345f3411b520e5dbbc..c0e25cae3aa580e973cca06668d749e644adcd25 100755 (executable)
@@ -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()) {