1$(document).ready(function() { 2 $('a[href^="#"]').on('click', function(event) { 3 var target = this.hash; 4 5 // Exclude accordion links from triggering smooth scroll 6 if ($(this).closest('.panel-group').attr('id') === 'accordion') { 7 return; 8 } 9 10 // Prevent default behavior and trigger smooth scroll 11 event.preventDefault(); 12 $('html, body').scrollTo(target, 800, { 13 axis: 'y', 14 queue: true, 15 offset: { top: 0 }, 16 onAfter: function() { 17 window.location.hash = target; 18 } 19 }); 20 }); 21}); 22
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.