From 5225d4209e52790af6bad454d7b6da6953551ace Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Nov 2010 14:48:35 +0300 Subject: js: code cleanup; move to async counter sending mode --- functions.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index a4528b78f..46716a407 100644 --- a/functions.js +++ b/functions.js @@ -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); -- cgit v1.2.3-54-g00ecf