PageSourceSearch

https://www.nebolit.ru/local/templates/aspro-allcorp3medc/componen…/popup_regions_small/script.js

js nebolit.ru collected 2026-09-28 12:56:37 UTC 926 bytes, 26 lines download raw bytes

1$(document).ready(function () {
2  $(".confirm_region .aprove").on("click", function (e) {
3    var _this = $(this);
4    if (!window.NebolitRegion.set(_this.data("id"))) {
5      console.error("Failed to save selected clinic", _this.data("id"));
6      return;
7    }
8
9    $(".confirm_region").remove();
10    if (typeof _this.data("href") !== "undefined") location.href = _this.data("href");
11  });
12  $(".js_city_change").on("click", function () {
13    var _this = $(this);
14    if (window.matchMedia("(min-width:992px)").matches) {
15      $(".regions").find(".js_city_chooser").trigger("click");
16    } else if (_this.closest(".top_mobile_region").length) {
17      $("#mobileheader .burger").click();
18
19      $(".mobilemenu__menu--regions > ul > li > div > a").click();
20    }
21    $(".confirm_region").remove();
22  });
23  $(".js_city_chooser").on("click", function () {
24    $(".confirm_region").remove();
25  });
26});

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.