PageSourceSearch

https://www.andyfieldvoiceover.com/wp-content/themes/voiceover/js/voiceover.js?ver=2.3.2

js andyfieldvoiceover.com collected 2026-10-04 06:13:45 UTC 1,249 bytes, 59 lines download raw bytes

1/**
2 * Genesis Sample entry point.
3 *
4 * @package GenesisSample\JS
5 * @author  StudioPress
6 * @license GPL-2.0-or-later
7 */
8
9var genesisSample = ( function( $ ) {
10	'use strict';
11
12	/**
13	 * Adjust site inner margin top to compensate for sticky header height.
14	 *
15	 * @since 2.6.0
16	 */
17	var moveContentBelowFixedHeader = function() {
18		var siteInnerMarginTop = 0;
19
20		if ( 'fixed' === $( '.site-header' ).css( 'position' ) ) {
21			siteInnerMarginTop = $( '.site-header' ).outerHeight();
22		}
23
24		$( '.site-inner' ).css( 'margin-top', siteInnerMarginTop );
25	},
26
27	/**
28	 * Initialize Genesis Sample.
29	 *
30	 * Internal functions to execute on full page load.
31	 *
32	 * @since 2.6.0
33	 */
34	load = function() {
35		moveContentBelowFixedHeader();
36
37		$( window ).resize( function() {
38			moveContentBelowFixedHeader();
39		});
40
41		// Run after the Customizer updates.
42		// 1.5s delay is to allow logo area reflow.
43		if ( 'undefined' != typeof wp && 'undefined' != typeof wp.customize ) {
44			wp.customize.bind( 'change', function( setting ) {
45				setTimeout( function() {
46					moveContentBelowFixedHeader();
47				}, 1500 );
48			});
49		}
50	};
51
52	// Expose the load and ready functions.
53	return {
54		load: load
55	};
56
57}( jQuery ) );
58
59jQuery( window ).on( 'load', genesisSample.load );

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.