From 915f930ce3bbf06d0adf6c24c15d02479f5f616a Mon Sep 17 00:00:00 2001 From: John Cowen Date: Thu, 12 Jul 2018 18:21:26 +0100 Subject: [PATCH] Change let to var --- website/source/assets/javascripts/consul-connect/carousel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}