Added continous AP scan

This commit is contained in:
Stefan Kremser
2017-03-03 15:41:45 +01:00
parent c13619bdca
commit d63c97f06a
3 changed files with 28 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
function getResponse(adr, callback, timeoutCallback = function(){location.reload()}, timeout = 5000){
function getResponse(adr, callback, timeoutCallback = function(){location.reload()}, timeout = 8000){
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if(xmlhttp.readyState == 4){