mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
maybe the watcher should be running from the start
This commit is contained in:
parent
ec7ef6ef1e
commit
44d08d77aa
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user