PageSourceSearch

https://a-markets.biz/wp-content/plugins/amarkets-partials/account_types/js/review.js?ver=403.1175

js a-markets.biz collected 2026-10-07 16:40:14 UTC 1,012 bytes, 34 lines download raw bytes

1jQuery(function($) {
2    expand_btn_width();
3    expand_account_type_blocks();
4
5    function expand_btn_width() {
6        $('.review__controls .review__btn.review__btn--icon').on('mouseenter mouseleave', function() {
7            $(this).closest('.review__controls').toggleClass('expand');
8        });
9    }
10
11    function expand_account_type_blocks() {
12        const $cards = $('.review__card');
13        const $first_card = $cards.first();
14        
15        $first_card.addClass('opened');
16        $first_card.children().last().show();
17
18        $cards.find('.review__btn').on('click', function(e) {
19           e.stopPropagation(); 
20        });
21
22        $cards.on('click', function () {
23            const $card = $(this);
24
25            if ($card.hasClass('opened')) {
26                $card.removeClass('opened');
27                $card.children().last().slideUp();
28            } else {
29                $card.addClass('opened');
30                $card.children().last().slideDown();
31            }
32        });
33    }
34});

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.