PageSourceSearch

https://www.ctemedetemjinak.cz/user/templates/static-assets/js/modules/account-menu.js?build=477

js ctemedetemjinak.cz collected 2026-10-08 21:17:49 UTC 1,162 bytes, 34 lines download raw bytes

1class AccountMenu {
2
3    constructor() {
4        this.element = '#modules-account-menu';
5        this.init();
6    }
7
8    init() {
9        this.element = $(this.element);
10        if (this.element.length) {
11            this.element.find('.dropdown').each(function () {
12                $(this).find('.show-more').click(function (e) {
13                    e.preventDefault();
14                    var menu = $(this).next('ul');
15
16                    if (menu.length) {
17                        if (menu.hasClass('open')) {
18                            menu.slideUp();
19                            menu.removeClass('open');
20                            $(this).find('.icon').addClass('fa-plus').removeClass('fa-minus');
21                        } else {
22                            menu.slideDown();
23                            menu.addClass('open');
24                            $(this).find('.icon').addClass('fa-minus').removeClass('fa-plus');
25                        }
26                    }
27                }).append('<span class="icon fa fa-plus"</span>');
28            });
29        }
30    }
31
32}
33
34nody.modules.AccountMenu = new AccountMenu();

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.