1( function( $ ) { 2 $(document).ready(function() { 3 4 //back to top 5 var scrollTrigger = 500; 6 $(window).on('scroll', function () { 7 var scrollTop = $(window).scrollTop(); 8 if( scrollTop > scrollTrigger ) 9 { 10 $('#back-to-top').addClass('back-to-top-show'); 11 } 12 else 13 { 14 $('#back-to-top').removeClass('back-to-top-show'); 15 } 16 }); 17 18 $('#back-to-top').on('click', function (e) { 19 e.preventDefault(); 20 $('html,body').animate({ 21 scrollTop: 0 22 }, 700); 23 }); 24 //back to top END 25 26 }); 27} )( 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.