PageSourceSearch

https://admelizovo.ru/static/uil/export/project_mo_theme_short_04/…/scripts/mo-radio-menu.js?20260221052336

js admelizovo.ru collected 2026-10-02 18:19:18 UTC 816 bytes, 27 lines download raw bytes

1$(function uil_init_mo_radio_menu() {
2
3    $('.uil-mo-radio-menu').on('change', 'input[type=radio]', function () {
4
5        var $this = $(this),
6            sort_name = $this.closest('.uil-mo-radio-menu').attr('data-mo-radio-menu__arg'),
7            sort_value = $this.val(),
8            params = [];
9
10        window.location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (str, key, value) {
11            if (key !== sort_name)
12                params.push(key + '=' + value);
13        });
14
15        if (sort_value)
16            params.push(sort_name + '=' + sort_value);
17
18        var url = window.location.pathname;
19        if (params.length > 0)
20            url += '?' + params.join('&');
21
22        if (url !== window.location.pathname + window.location.search)
23            window.location.href = url;
24
25    });
26
27});

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.