summaryrefslogtreecommitdiffstats
path: root/js/directive/NewsTitleUnreadCount.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/directive/NewsTitleUnreadCount.js')
-rw-r--r--js/directive/NewsTitleUnreadCount.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/directive/NewsTitleUnreadCount.js b/js/directive/NewsTitleUnreadCount.js
index c4fd26008..ca50757f7 100644
--- a/js/directive/NewsTitleUnreadCount.js
+++ b/js/directive/NewsTitleUnreadCount.js
@@ -25,6 +25,8 @@ app.directive('newsTitleUnreadCount', function ($window) {
if (value !== '0') {
$window.document.title = appName +
'(' + value + ') - ' + ownCloudName;
+ } else {
+ $window.document.title = appName + ' - ' + ownCloudName;
}
});
}