From 7825ef8f17a0b4140447da97e28de6c2b444328b Mon Sep 17 00:00:00 2001 From: Ross Trottier Date: Fri, 21 Jun 2024 15:09:21 -0600 Subject: [PATCH] fixed JS adding wrong class --- assets/js/st-nav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/st-nav.js b/assets/js/st-nav.js index 67dcd01..efaa27d 100644 --- a/assets/js/st-nav.js +++ b/assets/js/st-nav.js @@ -25,7 +25,7 @@ window.addEventListener('scroll', function(event) { if(scrollPosition < 5) { iconBar.classList.remove('st-icon-bar-sticky'); siteTitle.classList.remove('st-title-scrolled'); - siteTitle.classList.remove('st-title-scrolled-complete'); + header.classList.remove('st-header-scrolled'); } else { if(lastScrollPosition < 5) { iconBar.classList.add('st-icon-bar-sticky');