1
0
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:
Andrew Dolgov
2010-11-10 14:48:35 +03:00
parent c4f7ba8018
commit 5225d4209e
8 changed files with 27 additions and 119 deletions

View File

@@ -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);