1$(document).on('click', '.side-menu .nav-menu li.menu-item-has-children > a', function (){ 2 var this_parent = $(this).parent('li.menu-item-has-children'); 3 var not_this_parent = $(this).parent('li.menu-item-has-children').siblings('li'); 4 5 not_this_parent.removeClass('opened'); 6 this_parent.toggleClass('opened').removeClass('inactive'); 7 if(this_parent.hasClass('opened')) { 8 not_this_parent.addClass('inactive'); 9 } else { 10 not_this_parent.removeClass('inactive'); 11 } 12});
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.