PageSourceSearch

https://glusk.gov.by/templates/glusk/js/topmenu.js

js glusk.gov.by collected 2026-10-02 21:57:14 UTC 870 bytes, 26 lines download raw bytes

1  (function($){
2        jQuery(document).ready(function(){
3            // dropdown
4            if (jQuery('.parent').children('ul').length > 0) 
5            {
6                jQuery('.parent').addClass('dropdown');
7                jQuery('.parent > a').addClass('dropdown-toggle');
8                jQuery('.parent > a').attr('data-toggle', 'dropdown');
9                jQuery('.parent > a').append('<b class="caret"></b>');
10                jQuery('.parent > ul').addClass('dropdown-menu');
11            }
12        });
13    })(jQuery);
14
15    (function($){
16        jQuery('.dropdown input').click(function(e) {
17        e.stopPropagation();
18    });
19    })(jQuery);
20
21    (function($){
22        jQuery('.dropdown-menu .dropdown-submenu a[data-toggle="dropdown-submenu"]').click(function (e)
23        {                   
24            e.stopPropagation();
25        });
26    })(jQuery);

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.