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