From 0813387b1adfbbc52885fe61b6c5df5f60d6c366 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 13 Dec 2005 10:37:22 +0100 Subject: [PATCH] fix all_counters_callback in catless mode --- functions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.5