From f86c91970072475f1c5a3e77d096387ff70e85e2 Mon Sep 17 00:00:00 2001 From: Athou Date: Tue, 9 Apr 2013 00:28:45 +0200 Subject: [PATCH] show unread count in title before title --- src/main/webapp/js/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index e29f7e4d..5c037cc8 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -118,7 +118,7 @@ module.controller('CategoryTreeCtrl', function($scope, $timeout, $stateParams, $scope.$watch(rootUnreadCount, function(value) { var label = 'CommaFeed'; if (value > 0) { - label += ' (' + value + ')'; + label = '(' + value + ') ' + label; } $window.document.title = label; });