blob: 0740019a16331d4148051d17d2f0666b4203ed0b (
plain) (
blame)
1
2
3
4
5
6
7
8
|
module.exports = (Ferdi) => {
const getMessages = () => {
const hasNotifications = document.querySelector(".dig-NotificationBadge");
Ferdi.setBadge(0, hasNotifications ? 1 : 0);
};
Ferdi.loop(getMessages);
};
|