mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +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.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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user