PageSourceSearch

https://xn--santibaezdelval-4qb.es/sites/santibanezdelval/themes/tema_toools/js/custom.js?v=10.2.7

js xn--santibaezdelval-4qb.es collected 2026-10-02 23:34:38 UTC 1,326 bytes, 44 lines download raw bytes

1(function ($) {
2
3    /*Galería inicio*/
4    window.addEventListener("load", () => {
5        $(".masonry__filters ul").children().first().attr("data-masonry-filter", "ultimas");
6    });
7    $('.masonry__filters ul').on('click', function (){
8        $('.fila-btn-gallery').show();
9    });
10
11
12    $(document).ready(function () {
13        $(".masonry__filters").one("click", function(){
14            $('.masonry__item.col-lg-4.col-6').show();
15        });
16    });
17
18    $(".view-taxonomy-term").addClass("container");
19    $(".visually-hidden").css("width","100%");
20
21
22
23
24    if(location.pathname.split('/').slice(1)[0] == 'galeria-imagenes'){
25        var queryString = window.location.search;
26        var urlParams = new URLSearchParams(queryString);
27        var anuncioParam = urlParams.get('page');
28        if ((anuncioParam==null) || (Number(anuncioParam))==0){
29            $(".pager__item--previous").hide();
30            $(".pager__item.is-active").text("Página 1");
31
32        }else{
33            $(".pager__item.is-active").text("Página "+(Number(anuncioParam)+1));
34            $('.enlace_siguiente').attr('href', '?page='+(Number(anuncioParam)+1));
35            $('.enlace_anterior').attr('href', '?page='+(Number(anuncioParam)-1));
36        }
37
38    }
39
40    /*Galería fin*/
41
42})(jQuery);
43
44

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.