blob: f3a9eb47bdf2ef80b657a2aef15afa560cb1b41e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
module.exports = (Ferdium) => {
const getMessages = () => {
const messages = $('#jGrowl .jGrowl-notify').length;
Ferdium.setBadge(messages - 1);
};
Ferdium.loop(getMessages);
};
|