diff --git a/website/source/assets/javascripts/consul-connect/carousel.js b/website/source/assets/javascripts/consul-connect/carousel.js index 8dacad4d4c..805e419fab 100644 --- a/website/source/assets/javascripts/consul-connect/carousel.js +++ b/website/source/assets/javascripts/consul-connect/carousel.js @@ -37,8 +37,8 @@ qs('.g-carousel .next') }) // on dot click -for (let i = 0; i < dots.length; i++) { +for (var i = 0; i < dots.length; i++) { dots[i].addEventListener('click', function() { carousel.goTo(i) }) -} \ No newline at end of file +}