]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
fix various cat-related bugs
[tt-rss.git] / tt-rss.js
index ec356e0ba3206eac46ec563b24b5786b3c8bcba7..8e988ff2691d0117660188771c277232132f617b 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -207,7 +207,7 @@ function updateFeedList(silent, fetch) {
                query_str = query_str + "&tags=1";
        }
 
-       if (getActiveFeedId() != undefined) {
+       if (getActiveFeedId() && !activeFeedIsCat()) {
                query_str = query_str + "&actid=" + getActiveFeedId();
        }
 
@@ -447,7 +447,7 @@ function quickMenuGo(opid) {
                if (opid == "qmcRemoveFeed") {
                        var actid = getActiveFeedId();
        
-                       if (actid == undefined) {
+                       if (!actid || activeFeedIsCat()) {
                                alert("Please select some feed first.");
                                return;
                        }