Skip to content
Snippets Groups Projects
Commit e3af6912 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Limit unread count to 999

parent 97b86b57
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,10 @@ Meteor.startup ->
unreadAlert = '•'
if unreadCount > 0
Session.set 'unread', unreadCount
if unreadCount > 999
Session.set 'unread', '999+'
else
Session.set 'unread', unreadCount
else if unreadAlert isnt false
Session.set 'unread', unreadAlert
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment