Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (unread == 2) {
- var unread = unread - 1;
- $(".messages .unread-notice").html(unread + " unread message");
- } else if (unread >= 0) {
- var unread = unread - 1;
- $(".messages .unread-notice span").text(unread);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement