1(function($) { 2 "use strict"; 3 $(document).ready(function(){ 4 // Scroll back to top 5 $('a[href=#top]').on('click', function() { 6 $( 'html, body' ).animate({scrollTop:0}, 'normal'); 7 return false; 8 }); 9 // Scroll to comments 10 $('.comment-scroll a').click( function(event) { 11 event.preventDefault(); 12 $( 'html,body' ).animate( { 13 scrollTop: $( this.hash ).offset().top 14 }, 'normal' ); 15 }); 16 // Responsive navbar 17 var nav = $( '#site-navigation' ), button, menu; 18 $('.nav-toggle').on( 'click', function() { 19 $( '.nav-menu' ).toggleClass( 'toggled-on' ); 20 $( '.nav-toggle' ).find('.toggle-icon').toggleClass('fa-arrow-down fa-arrow-up'); 21 }); 22 }); 23})(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.