1jQuery(document).ready(function ($) { 2 3 // Exclude links to fade-in 4 let ignore_onbeforeunload = false; 5 $('a[href^=mailto], a[href^=tel], a[data-fade="false"], .woocommerce-MyAccount-downloads-file').on('click', function () { 6 ignore_onbeforeunload = true; 7 }); 8 9 // Preloader 10 $(window).bind('beforeunload', function () { 11 if (!ignore_onbeforeunload) { 12 $("#preloader").fadeIn('fast'); 13 $('#status').fadeIn('fast'); 14 } 15 ignore_onbeforeunload = false; 16 }) 17 $(window).on('load', function () { 18 $('#status').fadeOut(); 19 $('#preloader').delay(350).fadeOut('slow'); 20 }) 21 setTimeout(function () { 22 $('#status').fadeOut(); 23 $('#preloader').delay(350).fadeOut('slow'); 24 }, 1500); 25 26 // Prevents preloader stucking by press the browser back/forward buttons 27 window.onpagehide = function () { 28 $('#status').fadeOut('fast'); 29 $('#preloader').delay(350).fadeOut('slow'); 30 }; 31 32});
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.