1jQuery(document).ready(function($) { 2 $('.menu-item-has-children').click(function(){ 3 // Remove class for root items not clicked 4 $('.nav-main > .menu-item-has-children').not(this).removeClass('toggle-on'); 5 // Remove class for non-parent of target 6 $(this).not().parents().removeClass('toggle-on'); 7 // Toggle class for target 8 $(this).toggleClass('toggle-on'); 9 }); 10});
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.