1// sticky 2jQuery(window).load(function(){ 3 var site_content_row = jQuery('.site-content-row')[0], 4 wp_adminBar = jQuery('#wpadminbar').outerHeight(), 5 doc_width = jQuery(window).outerWidth(), 6 top_spacing = 20 + wp_adminBar; 7 8 if ( site_content_row ) { 9 var page_height = jQuery('body.theme-body').outerHeight(), 10 page_before_height = jQuery('body.theme-body').offset().top, 11 total_page_height = page_height + page_before_height, 12 before_content_height = jQuery('.site-content-row').offset().top, 13 content_height = jQuery('.site-content-row').outerHeight(), 14 after_height = total_page_height - before_content_height - content_height; 15 } 16 17 if (doc_width >= 992 ) { 18 if (wp_adminBar){ 19 jQuery(".sticky-sidebar").sticky({ topSpacing: top_spacing, bottomSpacing: after_height, }); 20 } else { 21 jQuery(".sticky-sidebar").sticky({ topSpacing: 20, bottomSpacing: after_height, }); 22 } 23 } 24});
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.