From 776c60dc008a9c8a11be7d387939f611b668bae8 Mon Sep 17 00:00:00 2001 From: pichalite Date: Thu, 4 Feb 2016 15:11:02 -0800 Subject: [PATCH] use component --- 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 b66fb3efab..cd692cae85 100644 --- a/public/src/client/chats.js +++ b/public/src/client/chats.js @@ -321,7 +321,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll', return app.alertError(err.message); } - chatContentEl.find('.chat-message').remove(); + chatContentEl.find('[component="chat/message"]').remove(); Chats.appendChatMessage(chatContentEl, messages); });