From 0a647ffff93b78836603640306b78b952f2db82d Mon Sep 17 00:00:00 2001 From: HenryGBC Date: Thu, 6 Apr 2017 14:07:26 -0430 Subject: [PATCH] Fixed Slides support in IE11 --- alplora/static/alplora/js/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/alplora/static/alplora/js/main.js b/alplora/static/alplora/js/main.js index ae32b29e..b056b261 100755 --- a/alplora/static/alplora/js/main.js +++ b/alplora/static/alplora/js/main.js @@ -32,7 +32,10 @@ }, time); } function initBackgroundsHeader(){ - var arrayElements = Array.from($('.intro-header .bg-slide')); + var arrayElements = []; + for(var index=0; index<$('.intro-header .bg-slide').length; index++ ){ + arrayElements.push($('.intro-header .bg-slide')[index]); + } _changeBg(0, arrayElements, 4000); }