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
|
// Display any cached alert messages
|
||||||
showCachedAlerts();
|
showCachedAlerts();
|
||||||
|
|
||||||
|
// start watcher
|
||||||
|
startNotificationWatcher();
|
||||||
|
|
||||||
// always refresh when the focus returns
|
// always refresh when the focus returns
|
||||||
$(document).focus(function(){
|
$(document).focus(function(){
|
||||||
startNotificationWatcher();
|
startNotificationWatcher();
|
||||||
|
Loading…
Reference in New Issue
Block a user