2 * Twenty Fourteen Theme Customizer enhancements for a better user experience.
4 * Contains handlers to make Theme Customizer preview reload changes asynchronously.
7 // Site title and description.
8 wp.customize( 'blogname', function( value ) {
9 value.bind( function( to ) {
10 $( '.site-title a' ).text( to );
13 wp.customize( 'blogdescription', function( value ) {
14 value.bind( function( to ) {
15 $( '.site-description' ).text( to );
19 wp.customize( 'header_textcolor', function( value ) {
20 value.bind( function( to ) {
21 if ( 'blank' === to ) {
22 $( '.site-title, .site-description' ).css( {
23 'clip': 'rect(1px, 1px, 1px, 1px)',
24 'position': 'absolute'
27 $( '.site-title, .site-description' ).css( {
32 $( '.site-title a' ).css( {