diff --git a/js/functions.js b/js/functions.js index f20002f..09f41e8 100644 --- a/js/functions.js +++ b/js/functions.js @@ -24,10 +24,10 @@ $(window).scroll(function(){ // Landing Elements if(wScroll > $('.clothes-pics').offset().top - ($(window).height() / 1.2)) { - $('.clothes-pics figure').each(function(i){ + $('.clothes-pics figure').each(function(i, figure){ setTimeout(function(){ - $('.clothes-pics figure').eq(i).addClass('is-showing'); + $(figure).addClass('is-showing'); }, (700 * (Math.exp(i * 0.14))) - 700); });