1(function($){ //create closure so we can safely use $ as alias for jQuery 2$(document).ready(function(){ 3 4 new WOW().init(); 5 6 $('.pageContent table').wrap('<div style="overflow-x:auto;"></div>'); 7 $('.pageContent table.sportsTable').wrap('<div style="overflow-x:auto;"></div>'); 8 9 10 11 // ===== Scroll to Top ==== 12 $(window).scroll(function() { 13 if ($(this).scrollTop() >= 50) { // If page is scrolled more than 50px 14 $('#return-to-top').fadeIn(200); // Fade in the arrow 15 } else { 16 $('#return-to-top').fadeOut(200); // Else fade out the arrow 17 } 18 }); 19 $('#return-to-top').click(function() { // When arrow is clicked 20 $('body,html').animate({ 21 scrollTop : 0 // Scroll to top of body 22 }, 500); 23 }); 24 25 //shortcut to /blog/wp-admin 26 $( "html" ).keypress(function() { 27 if(event.keyCode==1) { 28 //window.location.href = "https://www.example.com"; 29 //window.location.href = "https://"+window.location.hostname+'/blog/wp-admin'; 30 window.open("https://"+window.location.hostname+'/blog/wp-admin', "_blank"); 31 } 32 }); 33 34 35}); 36 37})(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.