mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +01:00
fix: #7564
This commit is contained in:
@@ -318,6 +318,9 @@ define('chat', [
|
|||||||
|
|
||||||
$(window).on('resize', function () {
|
$(window).on('resize', function () {
|
||||||
messagesEl.css('height', module.calculateChatListHeight(modalEl));
|
messagesEl.css('height', module.calculateChatListHeight(modalEl));
|
||||||
|
require(['forum/chats/messages'], function (ChatsMessages) {
|
||||||
|
ChatsMessages.scrollToBottom(modalEl.find('.chat-content'));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user