PageSourceSearch

https://xn--villamayordetrevio-30b.es/sites/villamayordetrevino/themes/tema_toools/js/custom.js?v=10.2.7

js xn--villamayordetrevio-30b.es collected 2026-10-03 02:46:20 UTC 1,461 bytes, 46 lines download raw bytes

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

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.