From ac3f078a9000d2add02d8a57895f6b5dbd5de391 Mon Sep 17 00:00:00 2001 From: Taras Kachmar <107129371+TarasKachmar2022@users.noreply.github.com> Date: Fri, 8 Mar 2024 23:29:57 +0200 Subject: [PATCH] fix --- src/js/nav-anim.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/nav-anim.js b/src/js/nav-anim.js index 02e2564..f6a652d 100644 --- a/src/js/nav-anim.js +++ b/src/js/nav-anim.js @@ -44,6 +44,8 @@ if (animNavItems.length > 0) { return topOffset; } } + + animNavOnScroll(); } function offset(el) { @@ -79,5 +81,3 @@ function deleteClass(elementID) { } } } - -animNavOnScroll();