1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-02 16:38:38 +00:00

Remove jQuery animations

This commit is contained in:
Yassine Guedidi 2025-03-01 15:50:52 +01:00
parent 6165e61048
commit 0da398fd04
2 changed files with 9 additions and 6 deletions

View file

@ -22,7 +22,10 @@ function retrievePercent(id, resized) {
const scroll = bheight * percent;
if (!resized) {
$('html,body').animate({ scrollTop: scroll }, 'fast');
window.scrollTo({
top: scroll,
behavior: 'smooth',
});
}
return true;