Lukas Adam (Talk | contribs) |
Lukas Adam (Talk | contribs) |
||
Line 424: | Line 424: | ||
$(".gallery-icon").on("click", function() { | $(".gallery-icon").on("click", function() { | ||
var $activeSlide = $(".slide.active"); | var $activeSlide = $(".slide.active"); | ||
− | var get_div = "#a" + $(this).children().attr("class").split(" ")[0]. | + | var get_div = "#a" + $(this).children().attr("class").split(" ")[0].substring(4, $(this).children().attr("class").split(" ")[0].length); |
var $clickedSlide = $(get_div); | var $clickedSlide = $(get_div); | ||
gotoSlide($activeSlide, $clickedSlide, 'nothing'); | gotoSlide($activeSlide, $clickedSlide, 'nothing'); |
Revision as of 10:58, 31 October 2017
Meet the
Team