v1.18.x
Julian Lam 10 years ago
parent b3278cf8e8
commit 1b00d0f739

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

Loading…
Cancel
Save