summaryrefslogtreecommitdiffstats
path: root/js/filter/UnreadCountFormatter.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/filter/UnreadCountFormatter.js')
-rw-r--r--js/filter/UnreadCountFormatter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/filter/UnreadCountFormatter.js b/js/filter/UnreadCountFormatter.js
index 3450114b1..671d4e3c5 100644
--- a/js/filter/UnreadCountFormatter.js
+++ b/js/filter/UnreadCountFormatter.js
@@ -7,10 +7,10 @@
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2014
*/
-app.filter('unreadCountFormatter', () => {
+app.filter('unreadCountFormatter', function () {
'use strict';
- return (unreadCount) => {
+ return function (unreadCount) {
if (unreadCount > 999) {
return '999+';
}