1 $(document).ready(function () { 2 3 // Menu 4 $('#menu_principal li.dropdown').bind('click', function () { 5 $('#menu_principal li.dropdown').bind('mouseenter', function(ev) { 6 if ($('#menu_principal li.dropdown').hasClass('open')) { 7 $('#menu_principal li.dropdown').removeClass('open'); 8 } 9 $(this).addClass('open'); 10 ev.stopPropagation(); 11 }); 12 if ($(this).hasClass('open')) { 13 $('#menu_principal li.dropdown').unbind('mouseenter'); 14 } 15 }); 16 $('html').click(function(ev) { 17 if($(ev.target).attr('class') != 'dropdown-toggle'){ 18 $('#menu_principal li.dropdown').removeClass('open'); 19 $('#menu_principal li.dropdown').unbind('mouseenter'); 20 } 21 }); 22 23 $('#menu_selecionado').hide(); 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.