scroll chat to bottom on fullscreen toggle
This commit is contained in:
parent
5dd422e2d8
commit
bbe93d0e1d
@ -199,10 +199,12 @@ function addmailtext(data) {
|
||||
|
||||
function adjustFullscreenTopBarHeight() {
|
||||
$('#chatTopBar').height($(window).height() - $('#chatBottomBar').outerHeight(true) - $('.section-title-wrapper').outerHeight(true) - 23);
|
||||
$('#chatTopBar').scrollTop($('#chatTopBar').prop('scrollHeight'));
|
||||
}
|
||||
|
||||
function adjustInlineTopBarHeight() {
|
||||
$('#chatTopBar').height($(window).height() - $('#chatBottomBar').outerHeight(true) - $('.section-title-wrapper').outerHeight(true) - $('nav').outerHeight(true) - 23);
|
||||
$('#chatTopBar').scrollTop($('#chatTopBar').prop('scrollHeight'));
|
||||
}
|
||||
|
||||
function isMobile() {
|
||||
|
Reference in New Issue
Block a user