Added periodical notification count check
This commit is contained in:
parent
c0594d0888
commit
66bd51f603
@ -191,6 +191,9 @@ export default class AnimeNotifier {
|
||||
// Notification manager
|
||||
if(this.user) {
|
||||
this.notificationManager.update()
|
||||
|
||||
// Periodically check notifications
|
||||
setInterval(() => this.notificationManager.update(), 150000)
|
||||
}
|
||||
|
||||
// Bind unload event
|
||||
|
Loading…
Reference in New Issue
Block a user