mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-22 22:03:13 +00:00
Fix scrolling
This commit is contained in:
+2
-2
@@ -42,7 +42,7 @@ var refreshConversation = function() {
|
|||||||
conversationBuf = formatConversation(jsondata);
|
conversationBuf = formatConversation(jsondata);
|
||||||
if (conversationBuf != '') {
|
if (conversationBuf != '') {
|
||||||
$('.msg-endtag').before(conversationBuf);
|
$('.msg-endtag').before(conversationBuf);
|
||||||
$('#app-content-wrapper').scrollTop(1E10);
|
$('#app-content').scrollTop(1E10);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($('#app-content-header').is(':hidden')) {
|
if ($('#app-content-header').is(':hidden')) {
|
||||||
@@ -74,7 +74,7 @@ function fetchConversation(phoneNumber) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('#app-content-wrapper').html(conversationBuf);
|
$('#app-content-wrapper').html(conversationBuf);
|
||||||
$('#app-content-wrapper').scrollTop(1E10);
|
$('#app-content').scrollTop(1E10);
|
||||||
|
|
||||||
curPhoneNumber = phoneNumber;
|
curPhoneNumber = phoneNumber;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user