summaryrefslogtreecommitdiffstats
path: root/js/app/controllers/feedcontroller.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'js/app/controllers/feedcontroller.coffee')
-rw-r--r--js/app/controllers/feedcontroller.coffee5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/app/controllers/feedcontroller.coffee b/js/app/controllers/feedcontroller.coffee
index 2d1147b23..41e4fa07d 100644
--- a/js/app/controllers/feedcontroller.coffee
+++ b/js/app/controllers/feedcontroller.coffee
@@ -55,8 +55,9 @@ ActiveFeed, FeedType, $window) ->
# the title is some kind of exception since its always there
# and it has nothing to do with the body structure
if count > 0
- count = @_unreadCountFormatter(count)
- @_$window.document.title = 'News (' + count + ') | ownCloud'
+ titleCount = @_unreadCountFormatter(count)
+ @_$window.document.title =
+ 'News (' + titleCount + ') | ownCloud'
else
@_$window.document.title = 'News | ownCloud'
return count