PageSourceSearch

https://sumbarprov.go.id/assets/homepage/js/custom.js

js sumbarprov.go.id collected 2026-10-01 12:05:09 UTC 1,035 bytes, 26 lines download raw bytes

1$( document ).ready( function () {
2    $( '.dropdown-menu a.dropdown-toggle' ).on( 'click', function ( e ) {
3        var $el = $( this );
4        $el.toggleClass('active-dropdown');
5        var $parent = $( this ).offsetParent( ".dropdown-menu" );
6        if ( !$( this ).next().hasClass( 'show' ) ) {
7            $( this ).parents( '.dropdown-menu' ).first().find( '.show' ).removeClass( "show" );
8        }
9        var $subMenu = $( this ).next( ".dropdown-menu" );
10        $subMenu.toggleClass( 'show' );
11        
12        $( this ).parent( "li" ).toggleClass( 'show' );
13
14        $( this ).parents( 'li.nav-item.dropdown.show' ).on( 'hidden.bs.dropdown', function ( e ) {
15            $( '.dropdown-menu .show' ).removeClass( "show" );
16            $el.removeClass('active-dropdown');
17        } );
18        
19         if ( !$parent.parent().hasClass( 'navbar-nav' ) ) {
20            $el.next().css( { "top": $el[0].offsetTop, "left": $parent.outerWidth() - 4 } );
21        }
22
23        return false;
24    } );
25} );
26

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.