check for light theme before enabling particles

This commit is contained in:
Kevin Froman 2020-08-21 09:57:28 -05:00
parent cd0b69b03f
commit 72653c1e93
2 changed files with 15 additions and 5 deletions

View file

@ -23,7 +23,7 @@ async function doPing(){
PNotify.notice('Connection lost with API server')
}
apiOnline = false
}, 1000)
}, 10000)
return await fetch('/ping', {
headers: {
"token": webpass