PageSourceSearch

https://belomo.by/bitrix/templates/aspro-allcorp3/components/bitrix/menu/left/script.js?16663505891165

js belomo.by collected 2026-10-03 20:44:15 UTC 1,165 bytes, 42 lines download raw bytes

1/*side head block*/
2$(document).on("click", ".slide-block .slide-block__head", function (e) {
3  var _this = $(this),
4    menu = _this.siblings(".slide-block__body"),
5    bVisibleMeu = menu.is(":visible");
6
7  if (!_this.hasClass("clicked") && menu.length && !_this.hasClass("ignore") && !$(e.target).attr("href")) {
8    var type = _this.data("id");
9    _this.addClass("clicked");
10
11    if (bVisibleMeu) {
12      $.cookie(type + "_CLOSED", "Y", {
13        path: "/",
14      });
15      menu.slideUp();
16    } else {
17      $.removeCookie(type + "_CLOSED", {
18        path: "/",
19      });
20      menu.slideDown();
21    }
22
23    _this.toggleClass("closed");
24    _this.removeClass("clicked");
25  }
26});
27$(document).on("click", ".side-menu .toggle_block", function (e) {
28  var _this = $(this),
29    menu = _this.closest(".child").find("> .submenu-wrapper"),
30    bVisibleMeu = menu.is(":visible");
31
32  if (!_this.hasClass("clicked")) {
33    _this.addClass("clicked");
34    menu.slideToggle(150, function () {
35      _this.removeClass("clicked");
36    });
37    _this.toggleClass("closed");
38  }
39
40  _this.closest(".child").toggleClass("opened");
41});
42/**/

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.