Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Mark all messages as read
- *
- */
- function markAllRead () {
- $('div.comment.unread').each(function () {
- $(this).trigger('click');
- });
- }
- /**
- * Mark all messages as unread
- *
- */
- function markAllUnread () {
- // Mark all as read
- $('div.comment.read').each(function () {
- $(this).trigger('click');
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement