mirror of
https://gitlab.com/octospacc/octospacc.gitlab.io
synced 2025-01-10 16:06:18 +01:00
Try fixing scrolling bug...
This commit is contained in:
parent
7f9cfaa8ef
commit
8003ff319c
@ -324,13 +324,13 @@ var TWeb = {
|
||||
}
|
||||
var time3 = +(new Date);
|
||||
//console.log('inserted ' + (time3 - time2) + 'ms');
|
||||
if (scrollToLast) {
|
||||
//$('#BottomAnchor')[0].scrollIntoView();
|
||||
$('.tgme_widget_message_wrap').last().scrollIntoView();
|
||||
}
|
||||
if (!IsScrollableY($('html')[0])) {
|
||||
TWeb.loadMore($('.js-messages_more_wrap > a'), true);
|
||||
}
|
||||
if (scrollToLast) {
|
||||
$('#BottomAnchor')[0].scrollIntoView();
|
||||
$('.tgme_widget_message_wrap').last().scrollIntoView();
|
||||
}
|
||||
},
|
||||
error: function(data) {
|
||||
var timeout = $moreEl.data('timeout') || 1000;
|
||||
|
Loading…
Reference in New Issue
Block a user