diff --git a/inc/customizer.php b/inc/customizer.php index f821f8ba..e704cf58 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -21,6 +21,6 @@ add_action( 'customize_register', '_s_customize_register' ); * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. */ function _s_customize_preview_js() { - wp_enqueue_script( '_s_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130422', true ); + wp_enqueue_script( '_s_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true ); } add_action( 'customize_preview_init', '_s_customize_preview_js' ); diff --git a/js/customizer.js b/js/customizer.js index 888c1d48..344e191f 100644 --- a/js/customizer.js +++ b/js/customizer.js @@ -8,7 +8,7 @@ // Site title and description. wp.customize( 'blogname', function( value ) { value.bind( function( to ) { - $( '.site-title' ).text( to ); + $( '.site-title a' ).text( to ); } ); } ); wp.customize( 'blogdescription', function( value ) {