From 6e80ed90f7c77a4fb5600f3a8cd7d44e3ea185f4 Mon Sep 17 00:00:00 2001 From: jxmot Date: Wed, 16 Mar 2022 11:25:13 -0500 Subject: [PATCH] FIX, changed value in scroll animation to 450. --- public_html/assets/js/nobs.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/public_html/assets/js/nobs.js b/public_html/assets/js/nobs.js index e85cd18..6fa146e 100644 --- a/public_html/assets/js/nobs.js +++ b/public_html/assets/js/nobs.js @@ -26,11 +26,8 @@ function scrollTo(href) { } $('html').stop(true).animate({ scrollTop: ($(goTo).position().top - hdrheight) - }, - { - duration: 500, - easing: 'swing' - }); + },450); // NOTE: Any value greater than ~450 will cause + // the scroll to miss its target. } else consolelog('scrollTo() - bad hdrheight'); };