Spaces:
Sleeping
Sleeping
zhzluke96
commited on
Commit
•
94466ce
1
Parent(s):
5333c16
update
Browse files
modules/webui/js/index.js
CHANGED
@@ -154,10 +154,10 @@ addObserverIfDesiredNodeAvailable(".toast-wrap", function (added) {
|
|
154 |
added.forEach(function (element) {
|
155 |
if (element.innerText.includes("Connection errored out.")) {
|
156 |
window.setTimeout(function () {
|
157 |
-
document.getElementById("reset_button")
|
158 |
-
document.getElementById("generate_button")
|
159 |
-
document.getElementById("skip_button")
|
160 |
-
document.getElementById("stop_button")
|
161 |
});
|
162 |
}
|
163 |
});
|
|
|
154 |
added.forEach(function (element) {
|
155 |
if (element.innerText.includes("Connection errored out.")) {
|
156 |
window.setTimeout(function () {
|
157 |
+
document.getElementById("reset_button")?.classList.remove("hidden");
|
158 |
+
document.getElementById("generate_button")?.classList.add("hidden");
|
159 |
+
document.getElementById("skip_button")?.classList.add("hidden");
|
160 |
+
document.getElementById("stop_button")?.classList.add("hidden");
|
161 |
});
|
162 |
}
|
163 |
});
|