Update loader on failed load

master
0x1a8510f2 2 years ago
parent 9ec29bb029
commit 0e53d958e7
Signed by: 0x1a8510f2
GPG Key ID: F5DE8E33A2723FF6
  1. 3
      routes/script.go

@ -87,7 +87,8 @@ function start() {
// Add screen to body
document.getElementById("body").appendChild(img);
} else if (http.readyState === 4) {
alert("Error while starting the session: "+http.responseText);
document.getElementById("loader").innerText = "Failed to load";
alert("Error while starting the session\n"+http.responseText);
}
}
}

Loading…
Cancel
Save