diff options
author | Andrew Dolgov <[email protected]> | 2021-02-24 15:40:19 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-24 15:40:19 +0300 |
commit | 7f41228a7148c14d295f68f536b6227e10a2675f (patch) | |
tree | 1e4b9908270fdcd614d7b7723bba38c9935f7cad /js/App.js | |
parent | 553548b6897f8ef292ab56af9dcc196ef8ee0cb3 (diff) |
decouple runtime-info object from counters
Diffstat (limited to 'js/App.js')
-rw-r--r-- | js/App.js | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -714,11 +714,6 @@ const App = { App.updateRuntimeInfo(); }); - if (!this.getInitParam("bw_limit")) - window.setInterval(() => { - App.updateRuntimeInfo(); - }, 60 * 1000) - } else { Feeds.reload(); @@ -772,12 +767,16 @@ const App = { }, 3600 * 1000); } - console.log("second stage ok"); - PluginHost.run(PluginHost.HOOK_INIT_COMPLETE, null); - } + if (!this.getInitParam("bw_limit")) + window.setInterval(() => { + App.updateRuntimeInfo(); + }, 60 * 1000) + + console.log("second stage ok"); + }, checkForUpdates: function() { console.log('checking for updates...'); |