mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
83dd035a17
commit
a53d16b271
|
@ -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 = "TRANSMITTED - " + obj.bytesperminute + " Bpm";
|
||||
|
||||
|
||||
document.getElementById(
|
||||
"msg-" + obj._id + "-progress-information"
|
||||
).innerHTML = "TRANSMITTED - " + 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 = "TRANSMISSION FAILED - " + obj.bytesperminute + " Bpm";
|
||||
|
||||
document.getElementById(
|
||||
"msg-" + obj._id + "-progress-information"
|
||||
).innerHTML = "TRANSMISSION FAILED - " + obj.bytesperminute + " Bpm";
|
||||
}
|
||||
|
||||
//document.getElementById(id).className = message_class;
|
||||
|
|
Loading…
Reference in a new issue