]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
notifier: mention license
[tt-rss.git] / tt-rss.js
index 6d3cc73778139bad149da76ebce2d44a507ae2bd..81a40f21130e825f638206cd27232d96bbb699aa 100644 (file)
--- 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;
 }