]> git.wh0rd.org - tt-rss.git/blobdiff - feedlist.js
some UI frontend cookies respect session cookie lifetime, misc cookie cleanups (close...
[tt-rss.git] / feedlist.js
index 1be1020c66ef325c9082f7b0397b371953f33b70..6224e9ce0330e963c81c3db3868b7335e9324ec8 100644 (file)
@@ -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";
                }