PageSourceSearch

https://www.liceras.es/sites/all/modules/views_bootstrap/js/views-bootstrap-carousel.js?tk0hfz

js liceras.es collected 2026-10-02 14:21:40 UTC 842 bytes, 22 lines download raw bytes

1(function ($) {
2  Drupal.behaviors.viewsBootstrapCarousel = {
3    attach: function(context, settings) {
4      $.each(settings.viewsBootstrap.carousel, function(id, carousel) {
5        try {
6          // Does the view have more than 1 item?
7          // If not, hide the indicators and controls.
8          if ($('#views-bootstrap-carousel-' + carousel.id + ' .carousel-inner .item').length > 1) {
9            $('#views-bootstrap-carousel-' + carousel.id, context).carousel(carousel.attributes);
10          }
11          else {
12            $('#views-bootstrap-carousel-' + carousel.id, context).find('.carousel-indicators').hide();
13            $('#views-bootstrap-carousel-' + carousel.id, context).find('.carousel-control').hide();
14          }
15        }
16        catch(err) {
17          console.log(err);
18        }
19      });
20    }
21  };
22})(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.