diff --git a/index.html b/index.html index 10b71ed..12ec33c 100644 --- a/index.html +++ b/index.html @@ -70,7 +70,7 @@ let totalHight = document.body.scrollHeight const Prostick = document.querySelector('.Prostick') window.addEventListener('scroll', function () { - let pro = (window.pageYOffset / totalhHght) * 100 + let pro = (window.pageYOffset / totalHight) * 100 Prostick.style.width = pro + '%' }) const navbarRight = document.querySelector('.navbar-right')