]> git.wh0rd.org - tt-rss.git/commitdiff
remove active feed cookie on app init
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 14 Oct 2005 03:43:44 +0000 (04:43 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 14 Oct 2005 03:43:44 +0000 (04:43 +0100)
tt-rss.js

index 3725ab43c3795454673079e290ba61e9055ce853..c5a57e1fab0a7cc911afec1f0974bef9d73a3cb8 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -341,6 +341,8 @@ function init() {
        if (!genericSanityCheck()) 
                return;
 
+       setCookie("ttrss_vf_actfeed", "");
+
        updateFeedList(false, false);
        document.onkeydown = hotkey_handler;
 
@@ -363,8 +365,6 @@ function init() {
 //             viewfeed(getCookie("ttrss_vf_actfeed"), 0, '');
 //     }
 
-       setCookie("ttrss_vf_actfeed", "");
-
 }