blob: 9a1266f6cb0b4e96a85c14534de4735cceb27058 (
plain) (
blame)
1
2
3
4
5
6
7
|
module.exports = Ferdium => {
const getMessages = () => {
Ferdium.setBadge(Ferdium.safeParseInt(document.querySelectorAll('.badge.topbar-launcherbadge')[0].firstChild.data));
};
Ferdium.loop(getMessages);
};
|