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