summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-13 10:37:22 +0100
committerAndrew Dolgov <[email protected]>2005-12-13 10:37:22 +0100
commit0813387b1adfbbc52885fe61b6c5df5f60d6c366 (patch)
tree4f1609ae9874aa855f4ffaddb527b6b9082ac53c /functions.js
parentc3f348c2fa79c2026774a9c2fd412406e36a3f2f (diff)
fix all_counters_callback in catless mode
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index 8f18f4c47..e032ff527 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;
}