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