summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-12 14:44:41 +0100
committerAndrew Dolgov <[email protected]>2007-08-12 14:44:41 +0100
commit3b08617610056ac0674304fa61e43405db73ae97 (patch)
tree76a0f1d04c53f02a1f48b72b314e670c065e83ab /feedlist.js
parent051c4d56cac9c3666accd2a2c791824ae2ccdc4e (diff)
enable collapsing of virtual category
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js8
1 files changed, 8 insertions, 0 deletions
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 });