Show listeners in a same manner as in a template.
This commit is contained in:
parent
bc1223cd35
commit
dcbd544da3
@ -11,9 +11,9 @@ function updateRadioStatus() {
|
|||||||
$("radio-listener-peak").textContent = r.listener_peak;
|
$("radio-listener-peak").textContent = r.listener_peak;
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
$("radio-status").textContent = "Radio is offline.";
|
$("radio-status").textContent = "Radio is offline.";
|
||||||
$("radio-song").textContent =
|
$("radio-song").textContent = "";
|
||||||
$("radio-listeners").textContent =
|
$("radio-listeners").textContent =
|
||||||
$("radio-listener-peak").textContent = "";
|
$("radio-listener-peak").textContent = "0";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user