PageSourceSearch

https://www.xn--lecanardrpublicain-jwb.net/plugins/auto/bootstrap/v2.2.0/bootstrap2spip/js/menu.dropdown.js

js xn--lecanardrpublicain-jwb.net collected 2026-10-02 12:07:48 UTC 598 bytes, 14 lines download raw bytes

1jQuery(function(){
2	// detecter les navbar avec deroulant
3	// poser les class qui vont bien
4	// et lancer le dropdown BootStrap dessus
5	jQuery('.navbar .menu-items .menu-items').closest('.navbar').each(function(){
6		jQuery(this)
7			.find('.menu-items').eq(0)
8			.children('.item').children('.menu-items').parent().addClass('dropdown')
9			.children('.menu-items').addClass('dropdown-menu').removeClass('nav')
10			.siblings('a').addClass('dropdown-toggle').attr('data-toggle', 'dropdown').append('<b class="caret"></b>').dropdown()
11			.siblings('.menu-items')
12			.find('.menu-items').hide();
13	});
14});

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.