1(function($) { 2 $(function() { 3 $(".js-smoothScroll").click(function() { 4 try { 5 var fixed = $("header.siteHeader").hasClass("fixed"); 6 var data_margin = $(this).data("margin"); 7 var margin = ((data_margin ? data_margin : 0) + (fixed ? 0 : 55)); 8 9 var $targetObject = $($(this).attr("href")); 10 var p = $targetObject.offset().top - margin; 11 12 $('html, body').animate({scrollTop:p}, 500); 13 } 14 catch (e) {} 15 return false; 16 }); 17 }); 18})(jQuery); 19
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.