From 2f4eb720ba6915066af54eca4f49ad395adf6f02 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 2 Feb 2009 15:39:18 +0300 Subject: [PATCH] request_counters: no-op when in offline mode --- feedlist.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/feedlist.js b/feedlist.js index 47542e544..582509e40 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";