Client pass

This commit is contained in:
gltron committed 2024-07-21 01:30:10 +02:00
1 parent cd42baaebf
commit 4fe78c0fa4
18 files changed
+120 -65

No files matched your search

+1 -1
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';