summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-22 10:19:11 +0300
committerAndrew Dolgov <[email protected]>2017-01-22 10:19:11 +0300
commit4441fc6f3b5d2ae0df5c0a8797317c632b1d4d23 (patch)
treef31b865743d3ffa96f4988c68f6521942cf91382 /js/tt-rss.js
parent967f0619c781a01a67f1d3c69946f63d5a4c1e54 (diff)
parent7262c1726f1b900d2211d4cfb9054aefb93b991e (diff)
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 26982608e..20e0fc5a9 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -159,7 +159,7 @@ function viewCurrentFeed(method) {
function timeout() {
if (getInitParam("bw_limit") != "1") {
request_counters();
- setTimeout("timeout()", 60*1000);
+ setTimeout(timeout, 60*1000);
}
}
@@ -654,7 +654,7 @@ function init_second_stage() {
if (getInitParam("simple_update")) {
console.log("scheduling simple feed updater...");
- window.setTimeout("update_random_feed()", 30*1000);
+ window.setTimeout(update_random_feed, 30*1000);
}
} catch (e) {
@@ -1130,7 +1130,7 @@ function update_random_feed() {
parameters: "op=rpc&method=updateRandomFeed",
onComplete: function(transport) {
handle_rpc_json(transport, true);
- window.setTimeout("update_random_feed()", 30*1000);
+ window.setTimeout(update_random_feed, 30*1000);
} });
} catch (e) {