1(function($) { 2 if ( NsPageLoadingScreen.fadeOut ) { 3 $(function(){ 4 $(window).on('beforeunload', function(event) { 5 $("body").addClass("display-loading-screen"); 6 $('#ns-page-loading-screen').fadeIn(400); 7 return; 8 }); 9 }); 10 } 11 12 $(window).load(removeLoadingScreen); 13 14 $(function() { 15 $screen = $("#ns-page-loading-screen"); 16 17 if ( $screen.is(":hidden") ) { 18 $("body").removeClass("display-loading-screen"); 19 $screen.hide(); 20 } else { 21 setTimeout(removeLoadingScreen, 10000); 22 } 23 }); 24 25 function removeLoadingScreen(){ 26 $screen = $("#ns-page-loading-screen"); 27 28 if ( $screen.is(":visible") ) { 29 $screen.delay(300).fadeOut(400); 30 $("body").removeClass("display-loading-screen"); 31 } 32 } 33})(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.