PageSourceSearch

https://credo-rti.ru/wp-content/plugins/nextgen-gallery/static/Lig…/nextgen_fancybox_init.js?ver=3.59.5

js credo-rti.ru collected 2026-10-08 07:39:18 UTC 962 bytes, 28 lines download raw bytes

1jQuery(function($) {
2    var nextgen_fancybox_init = function() {
3        var selector = nextgen_lightbox_filter_selector($, $(".ngg-fancybox"));
4
5        window.addEventListener(
6            "click",
7            e => {
8                let $target = $(e.target);
9                if ($target.is(selector) || $target.parents('a').is(selector)) {
10                    e.preventDefault();
11                    $(selector).fancybox({
12                        titlePosition: 'inside',
13                        // Needed for twenty eleven
14                        onComplete: function() {
15                            $('#fancybox-wrap').css('z-index', 10000);
16                        }
17                    })
18                    $target.trigger('click.fb');
19                    
20                    e.stopPropagation();
21                }
22            },
23            true
24        )
25    };
26    $(window).on('refreshed', nextgen_fancybox_init);
27    nextgen_fancybox_init();
28});

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.