From 4beda60a73b2687db8a35b10bd53637a3f98fa0d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 1 Aug 2006 13:16:36 +0100 Subject: [PATCH] never select feed in cat view mode --- feedlist.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/feedlist.js b/feedlist.js index dd00c4da9..53340d7cf 100644 --- a/feedlist.js +++ b/feedlist.js @@ -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");