mirror of https://github.com/status-im/consul.git
Change let to var
This commit is contained in:
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…
Reference in New Issue