From 76b4eae177e8932f7c0ad0fb4feb702fa5e037e7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 20 Mar 2006 17:53:11 +0100 Subject: some UI frontend cookies respect session cookie lifetime, misc cookie cleanups (closes #52) --- feedlist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'feedlist.js') diff --git a/feedlist.js b/feedlist.js index 1be1020c6..6224e9ce0 100644 --- a/feedlist.js +++ b/feedlist.js @@ -65,7 +65,7 @@ function viewfeed(feed, skip, subop, doc, is_cat) { view_mode = "All Posts"; } - setCookie("ttrss_vf_vmode", view_mode); + setCookie("ttrss_vf_vmode", view_mode, getCookie("ttrss_cltime")); var limitbox = doc.getElementById("limitbox"); @@ -73,7 +73,7 @@ function viewfeed(feed, skip, subop, doc, is_cat) { if (limitbox) { limit = limitbox[limitbox.selectedIndex].text; - setCookie("ttrss_vf_limit", limit); + setCookie("ttrss_vf_limit", limit, getCookie("ttrss_cltime")); } else { limit = "All"; } -- cgit v1.2.3-54-g00ecf