PageSourceSearch

https://www.pizzeria-antica.com/template/js/ak_swiper_init.js?v=20231214

js pizzeria-antica.com collected 2026-09-30 10:50:16 UTC 837 bytes, 27 lines download raw bytes

1$(function () {
2    setTimeout(function () {
3        swiper_check();
4    }, 1);
5
6    $(window).resize(function () {
7        swiper_check();
8    });
9});
10
11function swiper_check() {
12    // 如果兩個箭頭都disabled =>隱藏
13    $(".swiper").map(function () {
14        var n = $(this).parent().find(".swiper-button-disabled").length;
15        if (n == 2) {
16            // $(this).parent().find(".swiper-button-disabled").css("opacity", 0);
17            $(this).parent().find(".swiper-btn-block").hide();
18        } else {
19            if($(this).parent().find(".swiper-btn-block").hasClass('space-between-btn')){
20                $(this).parent().find(".swiper-btn-block").css("display","flex")
21            }else{
22
23                $(this).parent().find(".swiper-btn-block").show();
24            }
25        }
26    });
27}

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.