summaryrefslogtreecommitdiffstats
path: root/js/messaging.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/messaging.js')
-rw-r--r--js/messaging.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/messaging.js b/js/messaging.js
index fb764a8..4ea8502 100644
--- a/js/messaging.js
+++ b/js/messaging.js
@@ -228,7 +228,7 @@ async function deleteMsg(id) {
M.toast({ html: "Unable to delete the message, Request failed!" });
setLoading(false);
} else {
- document.getElementById("msg-box-" + id).remove();
+ document.getElementById("msg_box-" + id).remove();
setLoading(false);
}
},
@@ -243,7 +243,7 @@ async function deleteMsg(id) {
}
function displayMessage(id, data) {
- document.getElementById("msg-body-" + id).innerHTML = filterXSS(data["telo"]);
+ document.getElementById("msg_body-" + id).innerHTML = filterXSS(data["telo"]);
}
// Function for displaying data