From: Andrew Dolgov Date: Tue, 14 Aug 2012 15:03:34 +0000 (+0400) Subject: make precache_headlines_idle() start slower X-Git-Tag: 1.6.0~165 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=973c4a649fd8f83ed85004f3365f10f9c24d8349;p=tt-rss.git make precache_headlines_idle() start slower --- diff --git a/js/feedlist.js b/js/feedlist.js index aef4bbe1..c8260f36 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -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); diff --git a/js/tt-rss.js b/js/tt-rss.js index 1c6f121c..ba4a2bca 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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;