1$(function() { 2 $('[data-wrap="false"]').each(function(index, carousel) { 3 $(carousel).on("slid.bs.carousel", function() { 4 let leftCarouselArrow = $(carousel).find(".left.carousel-control"); 5 let rightCarouselArrow = $(carousel).find(".right.carousel-control"); 6 let fistCarouselSlide = $(carousel).find(".item:first-child"); 7 if (fistCarouselSlide.hasClass("active")) { 8 $(leftCarouselArrow).addClass("disabled"); 9 } else { 10 $(leftCarouselArrow).removeClass("disabled"); 11 } 12 let lastCarouselSlide = $(carousel).find(".item:last-child"); 13 if (lastCarouselSlide.hasClass("active")) { 14 $(rightCarouselArrow).addClass("disabled"); 15 } else { 16 $(rightCarouselArrow).removeClass("disabled"); 17 } 18 }); 19 }); 20});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.