fix regression in apicheck js

This commit is contained in:
Kevin 2020-06-21 22:48:34 -05:00
parent 5bcb5a759d
commit ca1f9eb44b

View File

@ -18,9 +18,6 @@
*/ */
apiOnline = true apiOnline = true
async function doPing(){ async function doPing(){
if (document.hidden){
return
}
out = setTimeout(function(){ out = setTimeout(function(){
if (apiOnline){ if (apiOnline){
PNotify.notice('Connection lost with API server') PNotify.notice('Connection lost with API server')