diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-04 16:44:22 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-04 16:44:22 +0200 |
commit | d648b26345e6e9d58d59e72adc0a438d6c750279 (patch) | |
tree | 62a86a4c1375c339c334ab1bad887d7eb8160059 /js/app/services/unreadcountformatter.coffee | |
parent | aa60a37d816f0f8b03f2ab73c014812ca2fc9a9f (diff) |
use 99 as maximum unread count to display, permanently display delete button for active feed
Diffstat (limited to 'js/app/services/unreadcountformatter.coffee')
-rw-r--r-- | js/app/services/unreadcountformatter.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/app/services/unreadcountformatter.coffee b/js/app/services/unreadcountformatter.coffee index 76993ef5c..bb746514b 100644 --- a/js/app/services/unreadcountformatter.coffee +++ b/js/app/services/unreadcountformatter.coffee @@ -23,6 +23,6 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. angular.module('News').factory 'unreadCountFormatter', -> return (unreadCount) -> - if unreadCount > 999 - unreadCount = '999+' + if unreadCount > 99 + unreadCount = '99+' return unreadCount
\ No newline at end of file |