mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
fixed #2670
This commit is contained in:
@@ -18,10 +18,13 @@ define('forum/chats', ['string', 'sounds', 'forum/infinitescroll'], function(S,
|
||||
}
|
||||
|
||||
Chats.addEventListeners();
|
||||
Chats.resizeMainWindow();
|
||||
Chats.scrollToBottom(containerEl);
|
||||
Chats.setActive();
|
||||
|
||||
$(window).on('action:ajaxify.end', function() {
|
||||
Chats.resizeMainWindow();
|
||||
Chats.scrollToBottom(containerEl);
|
||||
});
|
||||
|
||||
Chats.initialised = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user