PageSourceSearch

https://abulife.az/assets/tenant/frontend/js/digital-shop-common.js

js abulife.az collected 2026-10-02 01:17:46 UTC 2,183 bytes, 64 lines download raw bytes

1/* 
2========================================
3    Shop Responsive Sidebar
4========================================
5*/
6$(document).on('click', '.shop-close-content-icon, .responsive-overlay', function() {
7    $('.shop-close-content, .responsive-overlay').removeClass('active');
8});
9
10$(document).on('click', '.shop-icon-sidebar', function() {
11    $('.responsive-overlay').addClass('active');
12    $('.shop-close-content').toggleClass('active');
13});
14
15/* 
16========================================
17    Click Active Class
18========================================
19*/
20$(document).on('click', '.active-list .item', function() {
21    $(this).siblings().removeClass('active');
22    $(this).toggleClass('active');
23});
24
25/* 
26========================================
27    Click expand Slide Up Down
28========================================
29*/
30$(document).on('click', '.single-shop-left-title .title', function(e) {
31    var shopTitle = $(this).parent('.single-shop-left-title');
32    if (shopTitle.hasClass('open')) {
33        shopTitle.removeClass('open');
34        shopTitle.find('.single-shop-left-inner').removeClass('open');
35        shopTitle.find('.single-shop-left-inner').slideUp(300, "swing");
36    } else {
37        shopTitle.addClass('open');
38        shopTitle.children('.single-shop-left-inner').slideDown(300, "swing");
39        shopTitle.siblings('.single-shop-left-title').children('.single-shop-left-inner').slideUp(300, "swing");
40        shopTitle.siblings('.single-shop-left-title').removeClass('open');
41    }
42});
43
44/* 
45========================================
46    Filter List 
47========================================
48*/
49
50$('.filter-list .list.active').find('.check-input').prop('checked', true);
51
52$(document).on('click', '.filter-list .list', function() {
53    elFilter = $(this);
54    elFilter.toggleClass('active');
55    elFilter.siblings().removeClass('active');
56
57    $(this, '.filter-list .list.active').find('.check-input').prop('checked', true);
58    $(this).siblings().find('.check-input').prop('checked', false);
59
60    if(!elFilter.hasClass('active')){
61        elFilter.find('.check-input').prop('checked', false);
62    }
63
64});

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.