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
|
// on refresh notification list
|
||||||
window.addEventListener('notificationsRefresh', () => {
|
window.addEventListener('notificationsRefresh', () => {
|
||||||
document.getElementById('notifications-list').addEventListener('populate', () => {
|
document.getElementById('notifications-list').addEventListener('populate', (event) => {
|
||||||
updateBadges(notificationsList);
|
updateBadges(event.target);
|
||||||
}, { once: true });
|
}, { once: true });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user