PageSourceSearch

https://xn--olmillosdemuo-tkb.es/sites/olmillosdemuno/themes/tema_toools/js/custom.js?v=10.2.7

js xn--olmillosdemuo-tkb.es collected 2026-10-02 20:41:45 UTC 1,963 bytes, 56 lines download raw bytes

1(function ($) {
2
3    if ($('body[pagina_inicio]').length > 0 || $('body.path-frontpage').length > 0) {
4
5        $('#block-bloquefecha, #block-bloquemeteo').wrapAll('<section class="imagebg cta cta-4 space--xxs border--bottom " data-gradient-bg="#003254,#3C90C8,#285F85,#00538A"><div class="container"><div class="row"></div></div></section>');
6
7        $('#block-bloquefecha').wrap('<div class="col-md-4 col-xs-12"></div>');
8        $('#block-bloquemeteo').wrap('<div class="col-md-8 col-xs-12 text-center-xs"></div>');
9
10        $('.weather__content').unwrap();
11        $('#el__tiempo').insertBefore('#pueblo-temperatura-cielo');
12
13    }
14
15    
16    /*Galería inicio*/
17    window.addEventListener("load", () => {
18        $(".masonry__filters ul").children().first().attr("data-masonry-filter", "ultimas");
19    });
20    $('.masonry__filters ul').on('click', function (){
21        $('.fila-btn-gallery').show();
22    });
23
24
25    $(document).ready(function () {
26        $(".masonry__filters").one("click", function(){
27            $('.masonry__item.col-lg-4.col-6').show();
28        });
29    });
30
31    $(".view-taxonomy-term").addClass("container");
32    $(".visually-hidden").css("width","100%");
33
34
35
36
37    if(location.pathname.split('/').slice(1)[0] == 'galeria-imagenes'){
38        var queryString = window.location.search;
39        var urlParams = new URLSearchParams(queryString);
40        var anuncioParam = urlParams.get('page');
41        if ((anuncioParam==null) || (Number(anuncioParam))==0){
42            $(".pager__item--previous").hide();
43            $(".pager__item.is-active").text("Página 1");
44
45        }else{
46            $(".pager__item.is-active").text("Página "+(Number(anuncioParam)+1));
47            $('.enlace_siguiente').attr('href', '?page='+(Number(anuncioParam)+1));
48            $('.enlace_anterior').attr('href', '?page='+(Number(anuncioParam)-1));
49        }
50
51    }
52
53    /*Galería fin*/
54})(jQuery);
55
56

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.