]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable catchup of visible headlines on viewfeed()
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 9 Apr 2012 07:58:14 +0000 (11:58 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 9 Apr 2012 07:58:14 +0000 (11:58 +0400)
js/feedlist.js

index 02057c06a6dd98e0ad88228a4c7dcdb6c1910e27..a2a24d0e0bef19304e164e0c9392ee394febb964 100644 (file)
@@ -71,7 +71,8 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
 
                        // switching to a different feed, we might as well catchup stuff visible
                        // in headlines buffer (if any)
-                       if (!background && isCdmMode() && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) {
+                       // disabled for now because this behavior is considered confusing -fox
+                       /* if (!background && isCdmMode() && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) {
 
                                $$("#headlines-frame > div[id*=RROW][class*=Unread]").each(
                                        function(child) {
@@ -97,7 +98,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
                                                }
 
                                        });
-                       }
+                       } */
                }
 
                if (offset == 0 && !background)