update notifications if a notification area remains open

This commit is contained in:
Mario Vavti 2017-10-18 00:25:00 +02:00
parent b106b53d05
commit 64a49eb54a

View File

@ -1000,6 +1000,13 @@ function notify_popup_loader(notifyType) {
});
}
});
setTimeout(function() {
if(notify_menu.hasClass('show')) {
console.log('updating ' + notifyType + ' notifications...');
setTimeout(notify_popup_loader, updateInterval, notifyType);
}
}, 1000);
}