fix badges workaround

This commit is contained in:
Matthieu Fesselier 2020-03-12 09:11:47 +01:00
parent 6983039f9e
commit dd6b2b9652

View File

@ -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 });
}); });