mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +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…
x
Reference in New Issue
Block a user