hidden is not a js func
This commit is contained in:
parent
77b24d022f
commit
3c6b3652c6
@ -82,7 +82,7 @@ fetch('/config/get/general.security_level', {
|
||||
})
|
||||
|
||||
var getStats = function(){
|
||||
if (document.hidden()){
|
||||
if (document.hidden){
|
||||
console.debug('skipping stats since no window focus')
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user