blob: 48bb2ada9c34bb69400b630d4afdc9499ec0bd12 (
plain) (
blame)
1
2
3
4
5
6
7
|
module.exports = (Ferdi) => {
const getMessages = () => {
Ferdi.setBadge(document.querySelector('#unread_count').innerHTML.replace(/\s/g, ''));
}
Ferdi.loop(getMessages);
};
|