fix badges workaround
This commit is contained in:
parent
6983039f9e
commit
dd6b2b9652
@ -328,8 +328,8 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
||||
|
||||
// on refresh notification list
|
||||
window.addEventListener('notificationsRefresh', () => {
|
||||
document.getElementById('notifications-list').addEventListener('populate', () => {
|
||||
updateBadges(notificationsList);
|
||||
document.getElementById('notifications-list').addEventListener('populate', (event) => {
|
||||
updateBadges(event.target);
|
||||
}, { once: true });
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user