]> git.wh0rd.org Git - tt-rss.git/commitdiff
never select feed in cat view mode
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 1 Aug 2006 12:16:36 +0000 (13:16 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 1 Aug 2006 12:16:36 +0000 (13:16 +0100)
feedlist.js

index dd00c4da9a40d5b39e5c52ba38721a298c7067bf..53340d7cff508b69211d20ffc0a3e0c9bed90e46 100644 (file)
@@ -102,10 +102,12 @@ function viewfeed(feed, skip, subop, doc, is_cat, subop_param) {
        
 //             cleanSelectedList("feedList");
        
-               var feedr = document.getElementById("FEEDR-" + getActiveFeedId());
-               if (feedr && !feedr.className.match("Selected")) {      
-                       feedr.className = feedr.className + "Selected";
-               } 
+               if (!cat_view_mode) {
+                       var feedr = document.getElementById("FEEDR-" + getActiveFeedId());
+                       if (feedr && !feedr.className.match("Selected")) {      
+                               feedr.className = feedr.className + "Selected";
+                       } 
+               }
                
                parent.disableContainerChildren("headlinesToolbar", false);
                parent.Form.enable("main_toolbar_form");