removed console log
This commit is contained in:
@@ -100,7 +100,6 @@
|
|||||||
var topScroll = document.getElementById("topScroll");
|
var topScroll = document.getElementById("topScroll");
|
||||||
window.onscroll = function() {scrollFunction()};
|
window.onscroll = function() {scrollFunction()};
|
||||||
|
|
||||||
console.log(topScroll);
|
|
||||||
function scrollFunction() {
|
function scrollFunction() {
|
||||||
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
|
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
|
||||||
topScroll.style.display = "block";
|
topScroll.style.display = "block";
|
||||||
|
|||||||
Reference in New Issue
Block a user