1(function($) { 2 var $nav = $('#navArea'); 3 var $btn = $('.toggle_btn'); 4 var $mask = $('#mask'); 5 var open = 'open'; // class 6 // menu open close 7 $btn.on( 'click', function() { 8 if ( ! $nav.hasClass( open ) ) { 9 $nav.addClass( open ); 10 } else { 11 $nav.removeClass( open ); 12 } 13 }); 14 // mask close 15 $mask.on('click', function() { 16 $nav.removeClass( open ); 17 }); 18} )(jQuery);
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.