Browse Source

Merge branch 'js-strict-mode' of wn/tt-rss into js-strict-mode

fox 6 years ago
parent
commit
002a0e259d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/functions.js

+ 2 - 2
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()) {