1/** 2 * File navigation.js. 3 * 4 * Handles toggling the navigation menu for small screens and enables TAB key 5 * navigation support for dropdown menus. 6 */ 7jQuery(document).ready(function($){ 8 $('body').on('click', '.menu-toggle', function(e) { 9 e.preventDefault(); 10 var navItem = $(this).attr('aria-controls'); 11 $('#'+ navItem +'').slideToggle("fast", function() { 12 }); 13 $('.'+ navItem +'').slideToggle("fast", function() { 14 }); 15 }); 16 $('body').on('click', '.mobile-close', function(e) { 17 e.preventDefault(); 18 $('.menu').css('display', 'none'); 19 $('.mobile-close').css('display', 'none'); 20 }); 21});
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.