diff --git a/assets/js/main.js b/assets/js/main.js index 7ebc4d1..7e89d5a 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -32,19 +32,6 @@ duration: 300 } }); - - - - /* Link active work */ - const linkWork =document.querySelectorAll(".work__item"); - - function activeWork() { - linkWork.forEach(l=> l.classList.remove('active-work')) - this.classList.add('active-work'); - } - - linkWork.forEach(l=> l.addEventListener('click', activeWork)) - /*=============== SWIPER TESTIMONIAL ===============*/ @@ -83,4 +70,4 @@ }) sr.reveal(`.home__data`) sr.reveal(`.home__handle`,{delay:700}) - sr.reveal(`.home__social`,`.home__scroll`,{delay:900,origin:'bottom'}) \ No newline at end of file + sr.reveal(`.home__social`,`.home__scroll`,{delay:900,origin:'bottom'})