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