use component

v1.18.x
pichalite 9 years ago
parent ee47a13556
commit 776c60dc00

@ -321,7 +321,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
return app.alertError(err.message); return app.alertError(err.message);
} }
chatContentEl.find('.chat-message').remove(); chatContentEl.find('[component="chat/message"]').remove();
Chats.appendChatMessage(chatContentEl, messages); Chats.appendChatMessage(chatContentEl, messages);
}); });

Loading…
Cancel
Save