PageSourceSearch

https://www.visitfuerteventura.com/themes/custom/hic_front_theme/js/block/block-md-related-events.js?v=0.1

js visitfuerteventura.com collected 2026-10-02 11:34:57 UTC 1,265 bytes, 35 lines download raw bytes

1(function($) {
2
3    "use strict";
4
5    Drupal.behaviors.blockMDRelatedEventsView = {
6        attach: function() {
7            nuevoFontSizeRE();
8
9            function nuevoFontSizeRE() {
10                var textContainers = $('.block-inline-blockmd-related-events').find('.field_others');
11
12                textContainers.each(function() {
13                    var wContenedorTextos = $(this).innerWidth();
14                    var nuevoVW = stablishFontSizeRE(wContenedorTextos);
15                    $(this).css('font-size', nuevoVW + 'vw');
16                    if (navigator.appVersion.indexOf("Edge") != -1) {
17                        var moduleGrid = $(this).parent().parent().parent().parent().parent();
18                        var moduleWidth = moduleGrid.innerWidth();
19                        var nuevoRowGap = (moduleWidth * 3.26) / 100;
20                        moduleGrid.css('grid-row-gap', nuevoRowGap);
21                    }
22                });
23            }
24
25            function stablishFontSizeRE(wContainer) {
26                var wBrowser = $(window).innerWidth();
27                var newVW = ((wContainer * 100) / wBrowser) / 100;
28                return newVW;
29            }
30
31            $(window).resize(nuevoFontSizeRE);
32
33        }
34    };
35})(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.