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); } }); };