fix #31
This commit is contained in:
parent
b4217f80d4
commit
0766e64b96
4 changed files with 37 additions and 41 deletions
|
|
@ -69,13 +69,9 @@ function toggleLogoState() {
|
|||
}
|
||||
function toggleFooterState() {
|
||||
if (scrollY > 90) {
|
||||
document
|
||||
.querySelector("#main-footer")
|
||||
.classList.add("main-footer--background");
|
||||
document.querySelector(".open-nav-wrapper").classList.remove("hidden");
|
||||
} else {
|
||||
document
|
||||
.querySelector("#main-footer")
|
||||
.classList.remove("main-footer--background");
|
||||
document.querySelector(".open-nav-wrapper").classList.add("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue