| Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 Path : /home/c/u/i/cuisinesj/www/new/wp-content/themes/auberge/assets/js/ |
| Current File : /home/c/u/i/cuisinesj/www/new/wp-content/themes/auberge/assets/js/customize-preview.js |
/**
* Customizer preview scripts
*
* @package Auberge
* @copyright WebMan Design, Oliver Juhas
*
* @since 1.0
* @version 2.5.0
*/
( function( $ ) {
'use strict';
/**
* Site title and description.
*/
wp.customize( 'blogname', function( value ) {
// Processing
value
.bind( function( to ) {
$( '.site-title' )
.text( to );
} );
} ); // /blogname
wp.customize( 'blogdescription', function( value ) {
// Processing
value
.bind( function( to ) {
$( '.site-description, .site-banner-header .highlight' )
.text( to );
} );
} ); // /blogdescription
wp.customize( 'header_textcolor', function( value ) {
// Processing
value
.bind( function( to ) {
if ( 'blank' === to ) {
$( '.site-title, .site-description' )
.css( {
'clip' : 'rect(1px, 1px, 1px, 1px)',
'position' : 'absolute',
} );
$( 'body' )
.addClass( 'site-title-hidden' );
} else {
$( '.site-title, .site-description' )
.css( {
'clip' : 'auto',
'position' : 'relative',
} );
$( 'body' )
.removeClass( 'site-title-hidden' );
}
} );
} ); // /header_textcolor
} )( jQuery );