blob: 9ccc93b5fd5426d24516088a68a07428ebce10fb (
plain) (
blame)
1
2
3
4
5
6
7
8
|
module.exports = Ferdi => {
const getMessages = () => {
const notificationBadge = document.querySelectorAll('.tab-red-dot').length;
Ferdi.setBadge(notificationBadge);
};
Ferdi.loop(getMessages);
};
|