1(function ($) { 2 3 'use strict'; 4 5 /** 6 * Attaches the behavior to bootstrap carousel view. 7 */ 8 Drupal.behaviors.views_bootstrap_carousel = { 9 attach: function (context, settings) { 10 $('.carousel-inner').each(function() { 11 if ($(this).children('div').length === 1) { 12 $(this).siblings('.carousel-control, .carousel-indicators').hide(); 13 } 14 }); 15 } 16 } 17 18 19 20}(jQuery));
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.