1
0

Show listeners in a same manner as in a template.

This commit is contained in:
Alexander Andreev 2022-05-24 18:52:39 +04:00
parent bc1223cd35
commit dcbd544da3
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -11,9 +11,9 @@ function updateRadioStatus() {
$("radio-listener-peak").textContent = r.listener_peak;
}).catch(() => {
$("radio-status").textContent = "Radio is offline.";
$("radio-song").textContent =
$("radio-listeners").textContent =
$("radio-listener-peak").textContent = "";
$("radio-song").textContent = "";
$("radio-listeners").textContent =
$("radio-listener-peak").textContent = "0";
});
}