fixed JS adding wrong class
This commit is contained in:
parent
13d2f683c7
commit
7825ef8f17
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user