Client pass

This commit is contained in:
2024-07-21 01:30:10 +02:00
parent cd42baaebf
commit 4fe78c0fa4
18 changed files with 120 additions and 65 deletions

View File

@@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', () => {
let currentScrollY = window.scrollY;
if (navbar) {
if (lastScrollY > currentScrollY) {
if (lastScrollY > currentScrollY && currentScrollY !== 0) {
navbar.style.top = '0';
} else {
navbar.style.top = '-140px';