PageSourceSearch

https://alia2000.es/modules/u-c3e561d9-ea60-462e-8272-33dfae56fc26/js

js alia2000.es collected 2026-10-06 09:37:50 UTC 1,149 bytes, 37 lines download raw bytes

1 
2                            (function (moduleId) {
3                                $(document).ready(function () {
4
5    $("#logout-reveal a").click(function() {
6        logout();
7    })
8
9    $('#header-search-form').submit(function () {
10        return $("#header-search-form [name=query]").val().length > 0;
11    });
12
13    $('.categoryMenu-toggle').click(function (e) {
14        let menus = e.currentTarget.parentNode.getElementsByClassName('categoryMenu');
15        if(menus.length > 0) {
16            closeMenu();
17            e.currentTarget.parentNode.getElementsByClassName('categoryMenu')[0].classList.add('_open');
18        }
19    });
20
21    $(document).click((event) => {
22        if (!$(event.target).closest('.categoryMenu').length && !$(event.target).closest('.categoryMenu-toggle').length) {
23            closeMenu();
24        }
25    });
26
27    function closeMenu() {
28        let menus = document.getElementsByClassName('categoryMenu')
29        for(let i = 0; i < menus.length; i++){
30            menus[i].classList.remove('_open');
31        }
32    }
33
34});
35
36                            })('u-c3e561d9-ea60-462e-8272-33dfae56fc26');
37                        

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.