maybe the watcher should be running from the start

This commit is contained in:
Matthias committed 2021-11-30 22:35:37 +01:00
1 parent ec7ef6ef1e
commit 44d08d77aa
1 file changed
+3
@@ -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();