mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-19 21:17:54 +01:00
fixed scrollToBottom detection in chats page
This commit is contained in:
@@ -434,7 +434,7 @@ define('forum/chats', [
|
||||
ajaxify.data = payload;
|
||||
Chats.setActive();
|
||||
Chats.addEventListeners();
|
||||
messages.scrollToBottom($('.expanded-chat ul'));
|
||||
messages.scrollToBottom($('.expanded-chat ul.chat-content'));
|
||||
if (history.pushState) {
|
||||
history.pushState({
|
||||
url: 'user/' + payload.userslug + '/chats/' + payload.roomId,
|
||||
|
||||
Reference in New Issue
Block a user