PageSourceSearch

https://automastergas.ru/local/templates/automastergas_v2/components/bitrix/menu/mobile/script.js

js automastergas.ru collected 2026-10-01 16:14:55 UTC 887 bytes, 22 lines download raw bytes

1$(function(){
2    $('.headerMobile_btn').on('click', function(){
3        $(this)
4            .toggleClass('open')
5            .closest('.headerMobile')
6            .toggleClass('fixed')
7            .next('.mobile_menu')
8            .toggleClass('open')
9            .closest('body')
10            .toggleClass('overflow')
11
12    })
13    // Тап по заголовку пункта с подменю («Услуги») раскрывает список, а не уводит на страницу:
14    // ссылка на раздел есть первым подпунктом («Все услуги»).
15    $('.mobile_menu').on('click', 'a.mobile-no-click', function (e) {
16        e.preventDefault()
17    })
18    $('.mobile_menu').on('click', '.mobile_menu-item', function () {
19        if($(this).find('ul').length)
20            $(this).toggleClass('opened')
21    })
22})

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.