1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
Daniel Neto 2024-06-14 16:10:56 -03:00
parent d86dca5bf2
commit ac704a5402

View file

@ -93,9 +93,10 @@ function startModeFlix(container) {
$('#poster' + crc).css('background-image', 'url(' + $('#poster' + crc).attr('poster') + ')');
$('#poster' + crc).slideDown('fast', function () {
console.log('#poster' + crc+' slideDown');
console.log('#poster' + crc+' row.offset().top', top, myEleTop, top - myEleTop);
setTimeout(() => {
var top = row.offset().top;
console.log('#poster' + crc+' row.offset().top', top, myEleTop, top - myEleTop);
console.log('row', row);
$('html, body').animate({
scrollTop: top - myEleTop
}, 'fast');