js - remove delayed scrollTop() action

This commit is contained in:
abuyoyo 2019-12-28 01:19:28 +02:00
parent 8fb8e5cbf9
commit 0bf9316a3e

View File

@ -35,9 +35,9 @@
if ( $(this).hasClass('screen-meta-active') ){
$(window).scrollTop(true);
}else{
wait (500).then(function(){ //still jumpy sometimes - but scrolls to correct position 400 ~ 600
$(window).scrollTop(true);
});
// wait (500).then(function(){ //still jumpy sometimes - but scrolls to correct position 400 ~ 600
// $(window).scrollTop(true);
// });
}
});