Typos & clean

This commit is contained in:
Lucas Larroche 2021-07-10 10:47:57 +07:00
parent 59c54298d5
commit 7c1e93472f
13 changed files with 31 additions and 68 deletions

View file

@ -53,7 +53,7 @@ export const scrollspy = {
// Scroll stop
scrollStop() {
let isScrolling;
window.addEventListener('scroll', function (event) {
window.addEventListener('scroll', function(event) {
window.clearTimeout(isScrolling);
isScrolling = setTimeout(function() {
this.setActiveNav();