1(function($) { 2 3 "use strict"; 4 5 jQuery(document).on('ready', function() { 6 7 8 jQuery(window).on('scroll', function (event) { 9 10 if (jQuery(this).scrollTop() > 500) { 11 jQuery('.newsprk-er-back-to-top').fadeIn(200) 12 } else { 13 jQuery('.newsprk-er-back-to-top').fadeOut(200) 14 } 15 }); 16 17 $(document).on("click", ".newsprk-er-back-to-top", function(e) { 18 19 e.preventDefault(); 20 document.body.scrollTop = 0; 21 document.documentElement.scrollTop = 0; 22 return false; 23 24 }); 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.