fix regression in apicheck js
parent
5bcb5a759d
commit
ca1f9eb44b
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue