summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 694ade06a..17cab9d76 100644
--- a/functions.js
+++ b/functions.js
@@ -359,6 +359,12 @@ function all_counters_callback() {
for (var l = 0; l < reply.childNodes.length; l++) {
var id = reply.childNodes[l].getAttribute("id");
var ctr = reply.childNodes[l].getAttribute("counter");
+
+ if (id == "global-unread") {
+ parent.global_unread = ctr;
+ parent.updateTitle();
+ continue;
+ }
var feedctr = f_document.getElementById("FEEDCTR-" + id);
var feedu = f_document.getElementById("FEEDU-" + id);