blob: 5c762e4bb4674cf8ffde2087604aa95245b6afb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
module.exports = Ferdi => {
const getMessages = () => {
const notifications = document.querySelector('.c-notifications-dropdown__count')
Ferdi.setBadge(notifications.innerText);
};
Ferdi.loop(getMessages);
};
|