Fix unlinked site title in the Customizer

This commit is contained in:
Takashi Irie 2013-05-08 12:27:48 +01:00
parent 8ceefdcdeb
commit f367fefd72
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@ add_action( 'customize_register', '_s_customize_register' );
* Binds JS handlers to make Theme Customizer preview reload changes asynchronously. * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
*/ */
function _s_customize_preview_js() { 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' ); add_action( 'customize_preview_init', '_s_customize_preview_js' );

View File

@ -8,7 +8,7 @@
// Site title and description. // Site title and description.
wp.customize( 'blogname', function( value ) { wp.customize( 'blogname', function( value ) {
value.bind( function( to ) { value.bind( function( to ) {
$( '.site-title' ).text( to ); $( '.site-title a' ).text( to );
} ); } );
} ); } );
wp.customize( 'blogdescription', function( value ) { wp.customize( 'blogdescription', function( value ) {