1jQuery(document).ready(function ($) { 2 $('#menu-mobile .menu-item-has-children > a').on('click', function (e) { 3 e.preventDefault(); 4 5 const $item = $(this).parent(); 6 const $subMenu = $item.children('.sub-menu'); 7 8 if ($item.hasClass('open')) { 9 $item.removeClass('open'); 10 $subMenu.removeClass('open'); 11 } else { 12 $('#menu-mobile .menu-item-has-children').removeClass('open'); 13 $('#menu-mobile .sub-menu').removeClass('open'); 14 15 $item.addClass('open'); 16 $subMenu.addClass('open'); 17 } 18 }); 19 }); 20
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.