PageSourceSearch

https://madrigalejodelmonte.es/sites/madrigalejodelmonte/themes/tema_toools/js/custom.js?v=10.2.7

js madrigalejodelmonte.es collected 2026-10-02 23:35:54 UTC 1,759 bytes, 52 lines download raw bytes

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

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.