PageSourceSearch

https://ponyexpress.kz/local/components/skv/list.filter/templates/.default/script.js?17092266281553

js ponyexpress.kz collected 2026-09-26 09:56:00 UTC 1,553 bytes, 47 lines download raw bytes

1$(function () {
2
3    $(document)
4        .on('click', '.b-select-list span', function () {
5            var _this = $(this);
6            setTimeout(function () {
7                if(_this.closest('.b-select').hasClass('filter-year')) {
8                    $(".filter-month .b-select--current span").text(Lang['весь_год']).data('id','');
9
10                    if ($('.filter-year span span').data('id')) {
11		                $('.filter-month').show(); // show month when year is selected
12	                } else {
13		                $('.filter-month').hide(); // hide when all years is selected
14	                }
15                }
16
17                filterHelper.changeUrl();
18            }, 50);
19        })
20        .on('click', '.filter-section-list a', function () {
21
22            $('.filter-section-list li.active').removeClass('active');
23            $(this).closest('li').addClass('active');
24
25            $(".filter-section .b-select--current span").text($(this).text()).data("id",$(this).data('id'));
26            setTimeout(function () {
27                filterHelper.changeUrl();
28            }, 50);
29            return false;
30        });
31
32    if (window.history && window.history.pushState) {
33        $(window).bind("popstate", function (evt) {
34            var state = evt.originalEvent.state;
35            if (state && state.module === "skv") {
36
37                window.location.href = state.url;
38
39            }
40        });
41    }
42
43	if ($('.filter-year span span').data('id')) {
44		$('.filter-month').show(); // show month when year is selected
45	}
46
47});

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.