]> git.wh0rd.org Git - tt-rss.git/commitdiff
make precache_headlines_idle() start slower
authorAndrew Dolgov <fox@fakecake.org>
Tue, 14 Aug 2012 15:03:34 +0000 (19:03 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Tue, 14 Aug 2012 15:03:34 +0000 (19:03 +0400)
js/feedlist.js
js/tt-rss.js

index aef4bbe1677508f823bcd9ea866e8c1c98efbf52..c8260f3671e99096c9cc70bc9c96886a804b36ee 100644 (file)
@@ -204,7 +204,7 @@ function feedlist_init() {
                hideOrShowFeeds(getInitParam("hide_read_feeds") == 1);
 
                setTimeout("timeout()", 5000);
-               setTimeout("precache_headlines_idle()", 3000);
+               setTimeout("precache_headlines_idle()", 15000);
 
        } catch (e) {
                exception_error("feedlist/init", e);
index 1c6f121cfffbeb04ca362cdc6bc4b1551d42e301..ba4a2bca230e641c4d22c5129335e4b77b5a11a0 100644 (file)
@@ -170,6 +170,7 @@ function catchupAllFeeds() {
 }
 
 function viewCurrentFeed(method) {
+       console.log("viewCurrentFeed");
 
        if (getActiveFeedId() != undefined) {
                viewfeed(getActiveFeedId(), method, activeFeedIsCat());
@@ -358,8 +359,8 @@ function init_second_stage() {
                if (getInitParam("enable_feed_cats") == 0)
                        Element.hide(dijit.byId("include_children").domNode);
 
-               dijit.byId("include_children").attr("checked",
-                       getInitParam("default_include_children"));
+//             dijit.byId("include_children").attr("checked",
+//                     getInitParam("default_include_children"));
 
                feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;