blob: 01a2b75acc904c6780c9205c9d2b2e69daf9c880 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
module.exports = Ferdium => {
const getMessages = () => {
Ferdium.setBadge(
document.querySelector('#unread_count').textContent.replace(/\s/g, ''),
);
};
Ferdium.loop(getMessages);
};
|