first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/* 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;
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 );