Prettified Code!

This commit is contained in:
DJ2LS 2023-03-23 12:07:12 +00:00 committed by GitHub Action
parent 4a7e4de19f
commit 6a3de0f983

View file

@ -1299,11 +1299,9 @@ update_chat = function (obj) {
.classList.add("bg-success");
document.getElementById("msg-" + obj._id + "-progress").innerHTML = "";
document.getElementById(
"msg-" + obj._id + "-progress-information"
).innerHTML = percent_value + "% - " + obj.bytesperminute + " Bpm";
document.getElementById(
"msg-" + obj._id + "-progress-information"
).innerHTML = percent_value + "% - " + obj.bytesperminute + " Bpm";
} else {
document
.getElementById("msg-" + obj._id + "-progress")
@ -1325,10 +1323,9 @@ document.getElementById(
.getElementById("msg-" + obj._id + "-progress")
.classList.add("bg-danger");
document.getElementById(
"msg-" + obj._id + "-progress-information"
).innerHTML = percent_value + "% - " + obj.bytesperminute + " Bpm";
document.getElementById(
"msg-" + obj._id + "-progress-information"
).innerHTML = percent_value + "% - " + obj.bytesperminute + " Bpm";
}
//document.getElementById(id).className = message_class;