Remove obsolete JavaScript

replaces pr #38
This commit is contained in:
Anna Dabrowska 2024-10-14 14:37:40 +02:00
commit 38a9339b8c
8 changed files with 8 additions and 292 deletions

View file

@ -110,11 +110,9 @@
*/
scrollToTarget = function(target) {
// scroll to each target
$(target).velocity('scroll', {
duration: 400,
offset: -60,
easing: 'ease-in-out'
});
$('html, body').animate({
scrollTop: (target.offset().top - 60)
}, 400);
};