From 03ae77f26bdc34ef2ae6900f72356ca518ca370f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 20 Sep 2022 23:21:17 +0200 Subject: [PATCH] testing on devrama --- files/assets/js/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index 5b1e6a237..d3322452e 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -190,7 +190,7 @@ socket.on('typing', function (users){ function del(t) { t.parentElement.parentElement.parentElement.parentElement.parentElement.remove() - const text = t.previousElementSibling.previousElementSibling.innerHTML + const text = t.previousElementSibling.previousElementSibling.previousElementSibling.innerHTML console.log(text) socket.emit('delete', text); }