Display existing dismissed notifs in archived
This commit is contained in:
1 parent
c586d9170a
commit
95959b60c6
2 files changed
+12
-9
No files matched your search
@@ -80,7 +80,7 @@ define([
|
||||
|
||||
onViewedHandlers.push(function (data) {
|
||||
var hash = data.hash.replace(/"/g, '\\\"');
|
||||
var $notif = $('.cp-notification[data-hash="'+hash+'"]');
|
||||
var $notif = $('.cp-notification[data-hash="'+hash+'"]:not(.cp-app-notification-archived)');
|
||||
if ($notif.length) {
|
||||
$notif.remove();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user