1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

workaround for Uncategorized collapse state, fix pre-collapsed category display in outputFeedList

This commit is contained in:
Andrew Dolgov
2005-12-16 06:37:18 +01:00
parent 83f043bb94
commit 65f8581478
2 changed files with 16 additions and 2 deletions
+6
View File
@@ -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=" +