mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 07:56:23 +00:00
Fix scrolling
This commit is contained in:
parent
4ce9fd2530
commit
4e7ea18e89
@ -42,7 +42,7 @@ var refreshConversation = function() {
|
||||
conversationBuf = formatConversation(jsondata);
|
||||
if (conversationBuf != '') {
|
||||
$('.msg-endtag').before(conversationBuf);
|
||||
$('#app-content-wrapper').scrollTop(1E10);
|
||||
$('#app-content').scrollTop(1E10);
|
||||
}
|
||||
|
||||
if ($('#app-content-header').is(':hidden')) {
|
||||
@ -74,7 +74,7 @@ function fetchConversation(phoneNumber) {
|
||||
}
|
||||
|
||||
$('#app-content-wrapper').html(conversationBuf);
|
||||
$('#app-content-wrapper').scrollTop(1E10);
|
||||
$('#app-content').scrollTop(1E10);
|
||||
|
||||
curPhoneNumber = phoneNumber;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user