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:
14
examples/gui/data/js/controls.js
vendored
14
examples/gui/data/js/controls.js
vendored
@@ -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() {
|
||||
|
Reference in New Issue
Block a user