aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/api/dashboard/dashboard.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html
index 0c03ebf..870b0df 100644
--- a/src/api/dashboard/dashboard.html
+++ b/src/api/dashboard/dashboard.html
@@ -878,6 +878,8 @@ function connect() {
setTimeout(connect, 3000);
});
events.addEventListener("error", () => {
+ // Each attempt that failed: a breath too, so it shows it keeps trying.
+ pulse();
live = false;
if (events.readyState === EventSource.CLOSED) {
// Given up (an HTTP error, e.g. the node is up but not serving the page yet).