PageSourceSearch

https://www.krym4you.com/skewer/build/Page/Main/js/accordion.js?v=1426576891

js krym4you.com collected 2026-10-02 21:20:59 UTC 1,709 bytes, 63 lines download raw bytes

1$(function(){
2
3    var speed = 'normal';
4    var acc_container = $('.comp-list');
5    var block_animation = false;
6    if ( acc_container.size() ) {
7
8        var list = $('li', acc_container)
9            .find('.js-content-comp').hide().end()
10            .find('.js-title-comp')
11            .removeClass('title_on')
12            .click(function(){
13
14                if ( block_animation ) return false;
15                var _this = $(this);
16                block_animation = true;
17
18                // свернуть
19                if ( _this.is('.title_on') ) {
20                    $('.js-content-comp',_this.parents('li:first'))
21                        .slideUp(
22                        speed,
23                        function(){
24                            _this.removeClass('title_on');
25                            block_animation = false;
26                        }
27                    );
28
29                }
30
31                // развернуть
32                else {
33
34                    _this.addClass('title_on');
35                    $('.js-content-comp',_this.parents('li:first'))
36                        .slideDown(
37                        speed,
38                        function(){
39                            block_animation = false;
40                        }
41                    )
42
43
44                }
45
46                return true;
47
48            })
49        ;
50
51        if ( !acc_container.hasClass('js-close-all') ) {
52            list
53                .filter(':first')
54                .addClass('title_on')
55                .each(function () {
56                    $('.js-content-comp', $(this).parents('li:first')).show()
57                })
58                .end()
59            ;
60        }
61    }
62
63});

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.