Bugfix for two-digit numbers of thumbnails:
//Handles the carousel thumbnails
$('[id^=carousel-selector-]').click( function(){
var id_selector = $(this).attr("id");
var id = id_selector.replace(/carousel-selector-/i, '');
var id = parseInt(id);
$('#image-carousel').carousel(id);
});
Markus Buehler () - 7 years ago - Reply 0