fix species list tester

This commit is contained in:
ehpersonal38
2023-05-23 13:52:32 -04:00
parent 414606c5f2
commit 4b6b75a649
+2 -2
View File
@@ -113,7 +113,7 @@ if(isset($_GET["latitude"])){
echo "<script>setTimeout( echo "<script>setTimeout(
function() { function() {
const xhttp = new XMLHttpRequest(); const xhttp = new XMLHttpRequest();
xhttp.open(\"GET\", \"./config.php?restart_php=true\", true); xhttp.open(\"GET\", \"./views.php?view=Settings&restart_php=true\", true);
xhttp.send(); xhttp.send();
}, 1000);</script>"; }, 1000);</script>";
} }
@@ -467,7 +467,7 @@ function runProcess() {
output.innerHTML = xhr.responseText; output.innerHTML = xhr.responseText;
} }
}; };
xhr.open('GET', `scripts/config.php?threshold=${threshold}`); xhr.open('GET', `views.php?view=Settings&threshold=${threshold}`);
xhr.send(); xhr.send();
} }
</script> </script>