PageSourceSearch

http://www.myapexinc.com/wp-content/themes/apex-construction/assets/js/apex-construction.js?ver=1.0.0

js myapexinc.com collected 2026-10-04 06:00:14 UTC 1,265 bytes, 61 lines download raw bytes

1/**
2 * Genesis Sample entry point.
3 *
4 * @package GenesisSample\JS
5 * @author  StudioPress
6 * @license GPL-2.0+
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( $('.site-header').css('position') === 'fixed' ) {
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 document load can be called here.
31	 *
32	 * @since 2.6.0
33	 */
34	init = function() {
35		// Run on first load.
36		moveContentBelowFixedHeader();
37
38		// Run after window resize.
39		$( window ).resize(function() {
40			moveContentBelowFixedHeader();
41		});
42
43		// Run after the Customizer updates.
44		// 1.5s delay is to allow logo area reflow.
45		if (typeof wp.customize != "undefined") {
46			wp.customize.bind( 'change', function ( setting ) {
47				setTimeout(function() {
48					moveContentBelowFixedHeader();
49				  }, 1500);
50			});
51		}
52	};
53
54	// Expose the init function only.
55	return {
56		init: init
57	};
58
59})( jQuery );
60
61jQuery( window ).on( 'load', genesisSample.init );

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.