summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-02-20 09:56:38 +0100
committerAndrew Dolgov <[email protected]>2008-02-20 09:56:38 +0100
commit22936abb76a5e321f40fc04ebc186204fbb7fa36 (patch)
tree5066a6faab0f38827e1957e4e4d102231b6b6256 /tt-rss.js
parent4752b0412abb64c6ec32b1ffd18a9b8694598009 (diff)
save feedlist collapse state
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 882c65750..7951c52f3 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -781,6 +781,8 @@ function collapse_feedlist() {
if (fc) fc.style.left = fl.offsetWidth + "px";
if (ff) ff.style.left = (fl.offsetWidth-1) + "px";
+ setCookie("ttrss_vf_fclps", "0");
+
} else {
Element.hide(fl);
fbtn.value = ">>";
@@ -789,6 +791,8 @@ function collapse_feedlist() {
ft.style.left = "0px";
if (fc) fc.style.left = "0px";
if (ff) ff.style.left = "0px";
+
+ setCookie("ttrss_vf_fclps", "1");
}
} catch (e) {
exception_error(e, "toggle_feedlist");