improve scroll to bottom in chat
This commit is contained in:
parent
5d884c2f3d
commit
a564f495a7
@ -119,7 +119,7 @@ $(window).resize(function () {
|
|||||||
else {
|
else {
|
||||||
adjustInlineTopBarHeight();
|
adjustInlineTopBarHeight();
|
||||||
}
|
}
|
||||||
$('#chatTopBar').scrollTop($('#chatTopBar').scrollTop() + $('#chatTopBar').outerHeight(true));
|
$('#chatTopBar').scrollTop($('#chatTopBar').prop('scrollHeight'));
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#chat-form').submit(function(ev) {
|
$('#chat-form').submit(function(ev) {
|
||||||
|
Reference in New Issue
Block a user