Change let to var

pull/4393/head
John Cowen 6 years ago
parent 54088e19e4
commit 915f930ce3

@ -37,7 +37,7 @@ 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)
}) })

Loading…
Cancel
Save