metamaps--metamaps/app/views/notifications/mark_unread.js.erb
2016-12-11 17:48:48 -05:00

4 lines
165 B
Plaintext

$('#notification-<%= @notification.id %> .notification-read-unread > a')
.text('(unread)')
.attr('href', '<%= mark_read_notification_path(@notification.id) %>')