js - remove delayed scrollTop() action
This commit is contained in:
parent
8fb8e5cbf9
commit
0bf9316a3e
@ -35,9 +35,9 @@
|
|||||||
if ( $(this).hasClass('screen-meta-active') ){
|
if ( $(this).hasClass('screen-meta-active') ){
|
||||||
$(window).scrollTop(true);
|
$(window).scrollTop(true);
|
||||||
}else{
|
}else{
|
||||||
wait (500).then(function(){ //still jumpy sometimes - but scrolls to correct position 400 ~ 600
|
// wait (500).then(function(){ //still jumpy sometimes - but scrolls to correct position 400 ~ 600
|
||||||
$(window).scrollTop(true);
|
// $(window).scrollTop(true);
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user