PageSourceSearch

https://caradvise.com/wp-content/themes/hello-elementor/includes/js/accordion.js?ver=1.0.3

js caradvise.com collected 2026-10-01 15:26:15 UTC 1,717 bytes, 60 lines download raw bytes

1$(document).ready(function (){
2    $('.accordion').click(function (){
3        let t = $(this)
4        t.toggleClass('active')
5        t.closest('.custom-accordion').toggleClass('active')
6        let parent  = t.closest('.accordionColumn');
7        parent.find('.accordionPanel').stop().slideToggle();
8    })
9
10    $('#list-btn-mbl').click(function (){
11        let t = $(this)
12        t.addClass('hide')
13        $('#map-btn-mbl').removeClass('hide')
14        $('.stores-search-map').addClass('hide')
15        $('.stores-search-main-content').removeClass('hide')
16        $('.map-to-hide').removeClass('hide')
17    })
18
19    $('#map-btn-mbl').click(function (){
20        let t = $(this)
21        t.addClass('hide')
22        $('#list-btn-mbl').removeClass('hide')
23        $('.stores-search-map').removeClass('hide')
24        $('.stores-search-main-content').addClass('hide')
25        $('.map-to-hide').addClass('hide')
26    })
27
28
29    if ($(window).width() < 960) {
30        $('.accordionPanel').stop().slideUp();
31        $('.filter-section').addClass('hide')
32        $('.filters-hide-btn').addClass('active')
33       // $('.stores-search-map').addClass('hide')
34    }
35
36    $(".filter-btn").on("click", function () {
37        $('#myModal').modal('show');
38    })
39
40    $("#apply_filters").on("click", function () {
41        $('#mobile-search-form').submit();
42    })
43
44    // else {
45    //     alert('More than 960');
46    //     eventFired = 1;
47    // }
48
49    // $(window).on('resize', function() {
50    //     if (!eventFired) {
51    //         if ($(window).width() < 960) {
52    //             alert('Less than 960 resize');
53    //         } else {
54    //             alert('More than 960 resize');
55    //         }
56    //     }
57    // });
58})
59
60

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.