diff --git a/feedlist.js b/feedlist.js index af792ccff..04fab589f 100644 --- a/feedlist.js +++ b/feedlist.js @@ -246,6 +246,14 @@ function toggleCollapseCat(cat) { } } + if (cat == -1) { + if (Element.visible("FCATLIST-" + cat)) { + setCookie("ttrss_vf_vclps", "1"); + } else { + setCookie("ttrss_vf_vclps", "0"); + } + } + Effect.toggle('FCATLIST-' + cat, 'blind', { duration: 0.5, afterFinish: toggleCollapseCat_af }); diff --git a/functions.php b/functions.php index 115bb3475..04594f9da 100644 --- a/functions.php +++ b/functions.php @@ -3249,8 +3249,24 @@ /* virtual feeds */ if (get_pref($link, 'ENABLE_FEED_CATS')) { - print "