hidden is not a js func

This commit is contained in:
Kevin Froman 2020-03-23 00:00:35 -05:00
parent 77b24d022f
commit 3c6b3652c6

View File

@ -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
}