blob: 8dc8d2655a6813c2501c4125e164adb1936e6163 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
module.exports = Ferdi => {
const getMessages = () => {
const unread = document.querySelector('.cu-notification-alert__dot');
Ferdi.setBadge(unread ? 1 : 0);
};
Ferdi.loop(getMessages);
};
|