fixed height detection in chat modal

This commit is contained in:
Julian Lam
2018-01-16 14:48:16 -05:00
parent d0a1eb61bc
commit d8b67606bc

View File

@@ -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 () {