From e4ecb96f1aca2c56aedb6efc1313a46127400f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 6 Sep 2023 12:49:37 -0400 Subject: [PATCH] fix: closes #11982, fix element in prepEdit --- public/src/client/chats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/chats.js b/public/src/client/chats.js index cc8e3d7133..20e81eb854 100644 --- a/public/src/client/chats.js +++ b/public/src/client/chats.js @@ -389,7 +389,7 @@ define('forum/chats', [ return; } const lastMid = message.attr('data-mid'); - messages.prepEdit(inputEl, lastMid, ajaxify.data.roomId); + messages.prepEdit(message, lastMid, ajaxify.data.roomId); } }); };