maybe the watcher should be running from the start

This commit is contained in:
Matthias 2021-11-30 22:35:37 +01:00
parent ec7ef6ef1e
commit 44d08d77aa
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -218,6 +218,9 @@ function inventreeDocReady() {
// Display any cached alert messages
showCachedAlerts();
// start watcher
startNotificationWatcher();
// always refresh when the focus returns
$(document).focus(function(){
startNotificationWatcher();