diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js
index 47cfc432d..81aea24a5 100644
--- a/files/assets/js/chat.js
+++ b/files/assets/js/chat.js
@@ -273,7 +273,7 @@ socket.on('delete', function(text) {
})
document.addEventListener('click', function (e) {
- if (e.target.classList.contains('fa-trash-alt')) {
+ if (e.target.classList.contains('delconfirm')) {
e.target.nextElementSibling.classList.remove('d-none');
e.target.classList.add('d-none');
}
diff --git a/files/templates/chat.html b/files/templates/chat.html
index 6823bade3..f41f44c98 100644
--- a/files/templates/chat.html
+++ b/files/templates/chat.html
@@ -59,7 +59,7 @@
{% if m %}{{m['text']}}{% endif %}
{% if v.admin_level > 1 %}
-
+
{% endif %}