PageSourceSearch

https://softeka.ru/bitrix/templates/aspro-lite/js/conditional/pagination.js

js softeka.ru collected 2026-10-07 15:26:58 UTC 858 bytes, 35 lines download raw bytes

1BX.namespace("BX.Aspro.Pagination");
2
3BX.Aspro.Pagination = {
4  lazyLoad: () => {
5    setTimeout(() => {
6      if ($(".with-load-block .ajax_load_btn:not(.appear-block)").length) {
7        $(".with-load-block .ajax_load_btn:not(.appear-block)").iAppear(
8          function () {
9            var $this = $(this);
10            $this.addClass("appear-block").trigger("click");
11          },
12          {
13            rootMargin: "-10% 0px 0px 0px",
14            accX: 0,
15            accY: 200,
16          }
17        );
18      }
19    }, 200);
20  },
21};
22
23BX.Aspro.Utils.readyDOM(() => {
24  BX.Aspro.Pagination.lazyLoad();
25});
26
27BX.addCustomEvent("onCompleteAction", function (eventdata) {
28  try {
29    if (eventdata.action === "jsLoadBlock" || eventdata.action === "ajaxContentLoaded") {
30      BX.Aspro.Pagination.lazyLoad();
31    }
32  } catch (e) {
33    console.error(e);
34  }
35});

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.