generated from t/malachite
fix: minor ui issues
This commit is contained in:
parent
3942ad5a19
commit
f3180989af
6 changed files with 24 additions and 7 deletions
|
@ -121,6 +121,10 @@ function sock_con() {
|
|||
if (document.getElementById(`message_${msg.body}`)) {
|
||||
document.getElementById(`message_${msg.body}`).remove();
|
||||
}
|
||||
|
||||
if (document.getElementById(`message_${msg.body}_reply`)) {
|
||||
document.getElementById(`message_${msg.body}_reply`).remove();
|
||||
}
|
||||
} else if (msg.method === "MessageUpdate") {
|
||||
const [id, content] = JSON.parse(msg.body);
|
||||
document.getElementById(`${id}_body`).innerHTML =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue