diff options
Diffstat (limited to 'js/public/app.js')
-rw-r--r-- | js/public/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/public/app.js b/js/public/app.js index 80a678995..e38c84d59 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -425,12 +425,12 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. this._$scope.starredBusinessLayer = this._starredBusinessLayer; this._$scope.unreadCountFormatter = this._unreadCountFormatter; this._$scope.getTotalUnreadCount = function() { - var count; + var count, titleCount; count = _this._subscriptionsBusinessLayer.getUnreadCount(0); if (count > 0) { - count = _this._unreadCountFormatter(count); - _this._$window.document.title = 'News (' + count + ') | ownCloud'; + titleCount = _this._unreadCountFormatter(count); + _this._$window.document.title = 'News (' + titleCount + ') | ownCloud'; } else { _this._$window.document.title = 'News | ownCloud'; } |