Node.js based forum software built for the modern web
fixed height detection in chat modal
Julian Lamd8b67606bca9
diff --git a/public/src/modules/chat.js b/public/src/modules/chat.jsindex dfd0acf20f..5791a7828f 100644--- a/public/src/modules/chat.js+++ b/public/src/modules/chat.js@@ -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 () {