1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 02:25:55 +00:00

show number of unread articles in title

This commit is contained in:
Andrew Dolgov
2005-11-29 14:09:47 +01:00
parent ed027ba5cf
commit 806a3d146d
3 changed files with 12 additions and 5 deletions

View File

@@ -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);