PageSourceSearch

https://www.rivistadiagraria.org/wp-content/plugins/latest-post-sh…/assets/js/custom-pagination.js?ver=6.3

js rivistadiagraria.org collected 2026-10-02 11:00:33 UTC 1,591 bytes, 46 lines download raw bytes

1(function ($) {
2    window.LPS_check_ajax_pagination = {
3        config: {},
4        init: function () {
5            LPS_check_ajax_pagination.initEvents();
6        },
7        initEvents: function () {
8            LPS_check_ajax_pagination.sectionsSetup();
9        },
10        sectionsSetup: function () {
11            jQuery('section.latest-post-selection.ajax_pagination').each(function () {
12                var lps_section_id = this.id;
13                var lps_section_args = jQuery('#' + lps_section_id + '-wrap').attr('data-args');
14                jQuery('ul.pages.' + lps_section_id + '>li>a').on('click', function (e) {
15                    e.preventDefault();
16                    LPS_check_ajax_pagination.lpsNavigate(
17                        '#' + lps_section_id + '-wrap',
18                        jQuery(this).attr('data-page'),
19                        lps_section_args
20                    );
21                });
22            });
23        },
24        lpsNavigate: function (id, page, args) {
25            jQuery.ajax({
26                type: "POST",
27                url: LPS.ajaxurl,
28                data: {
29                    action: 'lps_navigate_to_page',
30                    page: page,
31                    args: args,
32                    lps_ajax: 1,
33                },
34                cache: false,
35            }).success(function (response) {
36                    jQuery(id).html(response);
37                    LPS_check_ajax_pagination.init();
38                });
39        }
40    };
41
42    $(document).ready(function () {
43        LPS_check_ajax_pagination.init();
44    });
45
46})(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.