1
0
Fork 0
forked from swee/MeowNex

Use SweeStyle instead of FontAwesome

This commit is contained in:
Nova Cat 2024-12-06 18:17:40 -08:00
parent 368ddcd885
commit 51ddc2fdf2

View file

@ -8,8 +8,8 @@ fetch ("block.txt")
.then(y => document.getElementById("blocked").innerHTML = y);
async function refresh(){
// Refresh the HTML to show the spinners
document.getElementById("run").innerHTML = "<span class=\"spinner-grow\"></span>"
document.getElementById("blocked").innerHTML = "<span class=\"spinner-grow\"></span>"
document.getElementById("run").innerHTML = "..."
document.getElementById("blocked").innerHTML = "..."
// Then fetch the values the same way as on the first part of the script.
fetch ("run.txt")
.then(x => x.text())