mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
Fix list behaviour in chat page
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
"nodebb-plugin-spam-be-gone": "^0.4.0",
|
"nodebb-plugin-spam-be-gone": "^0.4.0",
|
||||||
"nodebb-rewards-essentials": "^0.0.1",
|
"nodebb-rewards-essentials": "^0.0.1",
|
||||||
"nodebb-theme-lavender": "^1.0.48",
|
"nodebb-theme-lavender": "^1.0.48",
|
||||||
"nodebb-theme-persona": "^1.0.23",
|
"nodebb-theme-persona": "^1.0.24",
|
||||||
"nodebb-theme-vanilla": "^2.0.19",
|
"nodebb-theme-vanilla": "^2.0.19",
|
||||||
"nodebb-widget-essentials": "^1.0.2",
|
"nodebb-widget-essentials": "^1.0.2",
|
||||||
"npm": "^2.1.4",
|
"npm": "^2.1.4",
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
|
|||||||
};
|
};
|
||||||
|
|
||||||
Chats.resizeMainWindow = function() {
|
Chats.resizeMainWindow = function() {
|
||||||
var messagesList = $('.expanded-chat ul');
|
var messagesList = $('.expanded-chat .chat-content');
|
||||||
|
|
||||||
if (messagesList.length) {
|
if (messagesList.length) {
|
||||||
var margin = $('.expanded-chat ul').outerHeight(true) - $('.expanded-chat ul').height(),
|
var margin = $('.expanded-chat ul').outerHeight(true) - $('.expanded-chat ul').height(),
|
||||||
|
|||||||
Reference in New Issue
Block a user