Skip to content

Commit 6c08d71

Browse files
author
fadeouter
committed
update
1 parent d81984f commit 6c08d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
var position = document.body.getBoundingClientRect().top;
1616
var menu = document.getElementsByClassName('menu');
1717

18-
console.log(position);
18+
// console.log(position);
1919

2020
if (position < -20 && !menu[0].classList.contains('hidden')) {menu[0].classList.add('hidden');}
2121
else if (menu[0].classList.contains('hidden') && position > -20) {menu[0].classList.remove('hidden');}

0 commit comments

Comments
 (0)