6 * Attaches the behavior to bootstrap carousel view.
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();