make precache_headlines_idle() start slower
This commit is contained in:
parent
1354d17270
commit
973c4a649f
|
@ -204,7 +204,7 @@ function feedlist_init() {
|
||||||
hideOrShowFeeds(getInitParam("hide_read_feeds") == 1);
|
hideOrShowFeeds(getInitParam("hide_read_feeds") == 1);
|
||||||
|
|
||||||
setTimeout("timeout()", 5000);
|
setTimeout("timeout()", 5000);
|
||||||
setTimeout("precache_headlines_idle()", 3000);
|
setTimeout("precache_headlines_idle()", 15000);
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("feedlist/init", e);
|
exception_error("feedlist/init", e);
|
||||||
|
|
|
@ -170,6 +170,7 @@ function catchupAllFeeds() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function viewCurrentFeed(method) {
|
function viewCurrentFeed(method) {
|
||||||
|
console.log("viewCurrentFeed");
|
||||||
|
|
||||||
if (getActiveFeedId() != undefined) {
|
if (getActiveFeedId() != undefined) {
|
||||||
viewfeed(getActiveFeedId(), method, activeFeedIsCat());
|
viewfeed(getActiveFeedId(), method, activeFeedIsCat());
|
||||||
|
@ -358,8 +359,8 @@ function init_second_stage() {
|
||||||
if (getInitParam("enable_feed_cats") == 0)
|
if (getInitParam("enable_feed_cats") == 0)
|
||||||
Element.hide(dijit.byId("include_children").domNode);
|
Element.hide(dijit.byId("include_children").domNode);
|
||||||
|
|
||||||
dijit.byId("include_children").attr("checked",
|
// dijit.byId("include_children").attr("checked",
|
||||||
getInitParam("default_include_children"));
|
// getInitParam("default_include_children"));
|
||||||
|
|
||||||
feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
|
feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue