summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-16 06:37:18 +0100
committerAndrew Dolgov <[email protected]>2005-12-16 06:37:18 +0100
commit65f8581478a3fff9b39d9c9a6011f8b0d3225655 (patch)
tree92e7c9a3833bafedfb693cc5c7b846363e3a8dcf /feedlist.js
parent83f043bb941b40ba0e5c6b29d01776e92db5936c (diff)
workaround for Uncategorized collapse state, fix pre-collapsed category display in outputFeedList
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js
index e93108379..526526643 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -170,9 +170,15 @@ function toggleCollapseCat(cat) {
if (cat_list.className.match("invisible")) {
cat_list.className = "";
caption.innerHTML = caption.innerHTML.replace("...", "");
+ if (cat == 0) {
+ setCookie("ttrss_vf_uclps", "0");
+ }
} else {
cat_list.className = "invisible";
caption.innerHTML = caption.innerHTML + "...";
+ if (cat == 0) {
+ setCookie("ttrss_vf_uclps", "1");
+ }
}
xmlhttp_rpc.open("GET", "backend.php?op=feeds&subop=collapse&cid=" +