fix nav wizz
This commit is contained in:
parent
1212d263d6
commit
adff8b9ab7
5 changed files with 5 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||
closeNav(nodes);
|
||||
}
|
||||
if (
|
||||
window.scrollY > 100 &&
|
||||
(window.scrollY > 120) &
|
||||
!nodes.nav.classList.contains("main-nav--small")
|
||||
) {
|
||||
nodes.nav.classList.add("main-nav--small");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue