diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js
index 613642746..5b1e6a237 100644
--- a/files/assets/js/chat.js
+++ b/files/assets/js/chat.js
@@ -191,6 +191,7 @@ socket.on('typing', function (users){
function del(t) {
t.parentElement.parentElement.parentElement.parentElement.parentElement.remove()
const text = t.previousElementSibling.previousElementSibling.innerHTML
+ console.log(text)
socket.emit('delete', text);
}
diff --git a/files/templates/chat.html b/files/templates/chat.html
index cd23024a3..a39d45bd4 100644
--- a/files/templates/chat.html
+++ b/files/templates/chat.html
@@ -243,7 +243,7 @@
-
+
{% if v.admin_level > 1 %}