1$(function () { 2 $(window).scroll(function () { 3 if ($(window).scrollTop() > ($('header').height() + 200)) { 4 $('header').addClass('header__scroll'); 5 $('.menumob-btn').addClass('menumob-btn-float'); 6 } else { 7 $('header').removeClass('header__scroll'); 8 $('.menumob-btn').removeClass('menumob-btn-float'); 9 } 10 }); 11 12 $('.smartlink a, a.smartlink').click(function (e) { 13 e.preventDefault(); 14 15 var h = this.hash; 16 17 if (h) { 18 if ($(h).length) { 19 scrollAnimateTo($(h)); 20 } else { 21 window.location = '/' + h; 22 } 23 } 24 }); 25 var t = setTimeout(function () { 26 scrollAnimateStart(); 27 }, 1000); 28}); 29function scrollAnimateTo(obj) { 30 $('html,body').animate({ scrollTop: obj.offset().top - 90 }, 'fast'); 31} 32function scrollAnimateStart() { 33 var h = window.location.hash; 34 35 if (h) { 36 if ($(h).length) { 37 scrollAnimateTo($(h)); 38 } else { 39 window.location = '/' + h; 40 } 41 } 42}
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.