HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: /wordpress/plugins/jetpack/latest/modules/theme-tools/site-logo/js/site-logo-header-text.js
/* global site_logo_header_classes */
/**
 * JS for handling the "Display Header Text" setting's realtime preview.
 */
( function ( $ ) {
	var api = wp.customize,
		$classes = site_logo_header_classes.classes;

	api( 'site_logo_header_text', function ( value ) {
		value.bind( function ( to ) {
			if ( true === to ) {
				$( $classes ).css( {
					position: 'static',
					clip: 'auto',
				} );
			} else {
				$( $classes ).css( {
					position: 'absolute',
					clip: 'rect(1px 1px 1px 1px)',
				} );
			}
		} );
	} );
} )( jQuery );