Skip to content

Commit a30d89f

Browse files
fixed console issue (#228)
1 parent fbcf48e commit a30d89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ loginBtn.addEventListener('click', () => {
6969

7070
// to show and hide the back-to-top button
7171
window.addEventListener("scroll", () => {
72-
if (window.pageYOffset > 300) { console.log(window.pageYOffset);
72+
if (window.pageYOffset > 300) {
7373
backToTop.classList.add("active");
7474
} else {
7575
backToTop.classList.remove("active");

0 commit comments

Comments
 (0)