From 731b05f4a236cbdf7043464d5aa9eee1bee95114 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 11 Aug 2007 04:29:51 +0100 Subject: simplify getRelativeFeedId --- feedlist.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'feedlist.js') diff --git a/feedlist.js b/feedlist.js index 8c0420d0e..eca867870 100644 --- a/feedlist.js +++ b/feedlist.js @@ -208,6 +208,14 @@ function toggleCollapseCat(cat) { } */ + if (cat == 0) { + if (Element.visible("FCATLIST-" + cat)) { + setCookie("ttrss_vf_uclps", "1"); + } else { + setCookie("ttrss_vf_uclps", "0"); + } + } + Effect.toggle('FCATLIST-' + cat, 'blind', { duration: 0.5 }); new Ajax.Request("backend.php?op=feeds&subop=collapse&cid=" + -- cgit v1.2.3