1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-09-13 05:32:09 +00:00

Changing text for no connection box

This commit is contained in:
2018-10-28 22:19:14 +01:00
parent ec0b519fe3
commit 11422a3b43
3 changed files with 10 additions and 10 deletions

View File

@@ -92,13 +92,13 @@ function restart() {
}
function conStatusError() {
$("#conStatus").removeClass("color-green");
$("#conStatus").addClass("color-red");
$("#conStatus").text("Error / No Connection");
$("#conStatus").off();
$("#conStatus").on({
'click': restart
});
$("#conStatus").removeClass("color-green");
$("#conStatus").addClass("color-red");
$("#conStatus").text("Error / No Connection (click me to retry)");
$("#conStatus").off();
$("#conStatus").on({
'click': restart
});
}
function start() {