fixed broken UI in chat modal, send btn

v1.18.x
Julian Lam 7 years ago
parent 82bfd6edfd
commit cd4d0049e6

@ -35,7 +35,7 @@ define('forum/chats', [
Chats.addHotkeys();
}
messages.scrollToBottom($('.expanded-chat ul'));
messages.scrollToBottom($('.expanded-chat ul.chat-content'));
Chats.initialised = true;

@ -253,7 +253,7 @@ define('chat', [
Chats.addRenameHandler(chatModal.attr('data-roomid'), chatModal.find('[data-action="rename"]'), chatModal.attr('data-name'));
Chats.addSendHandlers(chatModal.attr('data-roomid'), chatModal.find('#chat-message-input'), chatModal.find('#chat-message-send-btn'));
Chats.addSendHandlers(chatModal.attr('data-roomid'), chatModal.find('.chat-input'), chatModal.find('[data-action="send"]'));
Chats.createTagsInput(chatModal.find('.users-tag-input'), data);
Chats.createAutoComplete(chatModal.find('[component="chat/input"]'));

Loading…
Cancel
Save