Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhavSharma24 committed Oct 26, 2023
1 parent d016a02 commit 1bf2739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/guides.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ function topFunction() {
});
}

window.addEventListener("scroll", () => {
window.addEventListener("scroll", function(){
if(window.scrollY > 100){
$(".go-to-top-arrow").addClass("active");
}else{
$(".go-to-top-arrow").removeClass("active");
}
})
});



0 comments on commit 1bf2739

Please sign in to comment.