mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:45:56 +00:00
js: code cleanup; move to async counter sending mode
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
var hotkeys_enabled = true;
|
||||
var notify_silent = false;
|
||||
var last_progress_point = 0;
|
||||
var async_counters_work = false;
|
||||
var sanity_check_done = false;
|
||||
|
||||
/* add method to remove element from array */
|
||||
@@ -578,9 +577,8 @@ function parse_counters_reply(transport, scheduled_call) {
|
||||
|
||||
}
|
||||
|
||||
function all_counters_callback2(transport, async_call) {
|
||||
function all_counters_callback2(transport) {
|
||||
try {
|
||||
if (async_call) async_counters_work = true;
|
||||
if (offline_mode) return;
|
||||
|
||||
parse_counters_reply(transport);
|
||||
|
||||
Reference in New Issue
Block a user