From: Andrew Dolgov Date: Mon, 2 Feb 2009 12:39:18 +0000 (+0300) Subject: request_counters: no-op when in offline mode X-Git-Tag: 1.3.1~140 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2f4eb720ba6915066af54eca4f49ad395adf6f02;p=tt-rss.git request_counters: no-op when in offline mode --- diff --git a/feedlist.js b/feedlist.js index 47542e54..582509e4 100644 --- a/feedlist.js +++ b/feedlist.js @@ -618,6 +618,8 @@ function request_counters_real() { try { + if (offline_mode) return; + debug("requesting counters..."); var query = "backend.php?op=rpc&subop=getAllCounters";