PageSourceSearch

https://lite-demo.ru/bitrix/components/aspro/regionality.list.lite/confirm_popup.js

js lite-demo.ru collected 2026-10-08 23:31:12 UTC 785 bytes, 24 lines download raw bytes

1checkMobileRegion = function () {
2  if ($(".confirm_region").length) {
3    if (!$(".top_mobile_region").length) {
4      const $regionBlock = $('<div class="top_mobile_region"><div class="confirm_region"></div></div>');
5      const $target = !arAsproOptions.SITE_TEMPLATE_PATH_MOBILE ? $(".body") : $(".layout");
6      $regionBlock.insertBefore($target);
7    }
8    $(".top_mobile_region .confirm_region").html($(".regions .confirm_region").html());
9  }
10};
11
12if (typeof window.frameCacheVars !== "undefined") {
13  BX.addCustomEvent("onFrameDataReceived", function (json) {
14    checkMobileRegion();
15  });
16} else {
17  readyDOM(function () {
18    checkMobileRegion();
19  });
20}
21
22$(document).on("click", ".region-close", function () {
23  $(".confirm_region").fadeOut();
24});

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.