diff options
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; } |