update notifications if a notification area remains open
This commit is contained in:
parent
b106b53d05
commit
64a49eb54a
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user