mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 22:00:34 +01:00
fixed height detection in chat modal
This commit is contained in:
@@ -324,7 +324,7 @@ define('chat', [
|
||||
module.enableMobileBehaviour = function (modalEl) {
|
||||
app.toggleNavbar(false);
|
||||
modalEl.attr('data-mobile', '1');
|
||||
var messagesEl = modalEl.find('.chat-content');
|
||||
var messagesEl = modalEl.find('.modal-body');
|
||||
messagesEl.css('height', module.calculateChatListHeight(modalEl));
|
||||
|
||||
$(window).on('resize', function () {
|
||||
|
||||
Reference in New Issue
Block a user