From 973c4a649fd8f83ed85004f3365f10f9c24d8349 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 14 Aug 2012 19:03:34 +0400 Subject: [PATCH] make precache_headlines_idle() start slower --- js/feedlist.js | 2 +- js/tt-rss.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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; -- 2.39.5