]> git.wh0rd.org Git - tt-rss.git/commitdiff
don't open Fresh feed when CDM auto-catchup is enabled
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Nov 2007 06:49:13 +0000 (07:49 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Nov 2007 06:49:13 +0000 (07:49 +0100)
feedlist.js

index 777119a3399353d3e9e4d33897621b40477894ae..dfe400850cff8ebc88b66de0cb0cee455b95e078 100644 (file)
@@ -264,7 +264,9 @@ function feedlist_init() {
                        debug("some feed is open on feedlist refresh, reloading");
                        setTimeout("viewCurrentFeed()", 100);
                } else {
-                       setTimeout("viewfeed(-3)", 100);
+                       if (getInitParam("cdm_auto_catchup") != 1) {                            
+                               setTimeout("viewfeed(-3)", 100);
+                       }
                }
 
        } catch (e) {