@ -113,7 +113,7 @@
});
Prostick = document.querySelector('.Prostick');
totalHeight = document.body.scrollHeight - window.innerHeight;
totalHeight = document.documentElement.scrollHeight - window.innerHeight;
window.addEventListener('scroll', function () {
@ -78,7 +78,7 @@
totalHight = document.body.scrollHeight - window.innerHeight;
totalHight = document.documentElement.scrollHeight - window.innerHeight;
@ -56,7 +56,7 @@
let pro = (window.pageYOffset / totalHight) * 100;
@ -36,7 +36,7 @@