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

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

Loading…
Cancel
Save