PHP 8.1.33
Preview: customize-controls.js Size: 710 B
/home/jambtst2015/public_html/tomorrowzfurniture.com/wp-content/themes/twentynineteen/js/customize-controls.js

/**
 * File customize-controls.js.
 *
 * Theme Customizer enhancements for a better user experience.
 *
 * Contains handlers to make Theme Customizer preview reload changes asynchronously.
 */

(function() {

	wp.customize.bind( 'ready', function() {

		// Only show the color hue control when there's a custom primary color.
		wp.customize( 'primary_color', function( setting ) {
			wp.customize.control( 'primary_color_hue', function( control ) {
				var visibility = function() {
					if ( 'custom' === setting.get() ) {
						control.container.slideDown( 180 );
					} else {
						control.container.slideUp( 180 );
					}
				};

				visibility();
				setting.bind( visibility );
			});
		});
	});

})();

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
391 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download
710 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download
1.64 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
5.25 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
794 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download
9.24 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).