7 lines
No EOL
367 B
Text
7 lines
No EOL
367 B
Text
$('#notification-<%= @notification.id %> .notification-read-unread > a')
|
|
.text('mark as unread')
|
|
.attr('href', '<%= mark_unread_notification_path(@notification.id) %>')
|
|
$('#notification-<%= @notification.id %>')
|
|
.removeClass('unread')
|
|
.addClass('read')
|
|
Metamaps.GlobalUI.NotificationIcon.render(Metamaps.GlobalUI.NotificationIcon.unreadNotificationsCount - 1) |