@ -18,9 +18,12 @@ define('forum/chats', ['string', 'sounds', 'forum/infinitescroll'], function(S,
}
Chats.addEventListeners();
Chats.setActive();
$(window).on('action:ajaxify.end', function() {
Chats.resizeMainWindow();
Chats.scrollToBottom(containerEl);
});
Chats.initialised = true;
};