]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix all_counters_callback in catless mode
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 13 Dec 2005 09:37:22 +0000 (10:37 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 13 Dec 2005 09:37:22 +0000 (10:37 +0100)
functions.js

index 8f18f4c47641663f5502182d47107f0c9d0bb8d9..e032ff527cedd2dca1bb69d7a5ac6adce7260bd2 100644 (file)
@@ -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;
                                }