mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 05:51:28 +00:00
some UI frontend cookies respect session cookie lifetime, misc cookie cleanups (closes #52)
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user