Change let to var

This commit is contained in:
John Cowen 2018-07-12 18:21:26 +01:00
parent 54088e19e4
commit 915f930ce3
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ qs('.g-carousel .next')
}) })
// on dot click // on dot click
for (let i = 0; i < dots.length; i++) { for (var i = 0; i < dots.length; i++) {
dots[i].addEventListener('click', function() { dots[i].addEventListener('click', function() {
carousel.goTo(i) carousel.goTo(i)
}) })
} }