From: Andrew Dolgov Date: Tue, 13 Dec 2005 09:37:22 +0000 (+0100) Subject: fix all_counters_callback in catless mode X-Git-Tag: schema_freeze_for_1.1.1~49 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0813387b1adfbbc52885fe61b6c5df5f60d6c366;p=tt-rss.git fix all_counters_callback in catless mode --- diff --git a/functions.js b/functions.js index 8f18f4c4..e032ff52 100644 --- a/functions.js +++ b/functions.js @@ -369,7 +369,9 @@ function all_counters_callback() { if (t == "category") { var catctr = f_document.getElementById("FCATCTR-" + id); - catctr.innerHTML = "(" + ctr + " unread)"; + if (catctr) { + catctr.innerHTML = "(" + ctr + " unread)"; + } continue; }