summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-02-18 15:42:40 +0300
committerAndrew Dolgov <[email protected]>2010-02-18 15:42:40 +0300
commitfdf47b9d1c338903c4c69ec53a70d717ae135f77 (patch)
tree17fe92cb7741baff1aa619867cfb91ee7edde52b /tt-rss.js
parentfa7c9e65f16086918adde001ed2531c488bd4ce8 (diff)
notifier: mention license
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 6d3cc7377..81a40f211 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -332,6 +332,14 @@ function updateTitle(s) {
tmp = tmp + " > " + active_title_text;
}
+ if (window.fluid) {
+ if (global_unread > 0) {
+ window.fluid.dockBadge = global_unread;
+ } else {
+ window.fluid.dockBadge = "";
+ }
+ }
+
document.title = tmp;
}