mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-19 02:50:53 +01:00
fix: closes #14039, only keep chat input in view on the chats page
This commit is contained in:
@@ -110,7 +110,7 @@ define('forum/chats/messages', [
|
||||
|
||||
messages.scrollToBottomAfterImageLoad(chatContentEl);
|
||||
const $composer = chatContentEl.siblings('[component="chat/composer"]');
|
||||
if ($composer.length) {
|
||||
if ($composer.length && ajaxify.data?.template?.chats) {
|
||||
$composer[0].scrollIntoView(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user