Added the Porter Stemmer module to improve searches. This doesn't deal with some...
[yaffs-website] / web / modules / contrib / views_bootstrap / js / views-bootstrap.js
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));