From: Andrew Dolgov Date: Tue, 1 Aug 2006 12:16:36 +0000 (+0100) Subject: never select feed in cat view mode X-Git-Tag: schema_freeze_for_1.2.2~38 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4beda60a73b2687db8a35b10bd53637a3f98fa0d;p=tt-rss.git never select feed in cat view mode --- diff --git a/feedlist.js b/feedlist.js index dd00c4da..53340d7c 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");