/**
- * Theme Customizer enhancements for a better user experience.
+ * Customizer enhancements for a better user experience.
*
- * Contains handlers to make Theme Customizer preview reload changes asynchronously.
+ * Contains handlers to make Customizer preview reload changes asynchronously.
* Things like site title and description changes.
*/
wp.customize( 'header_textcolor', function( value ) {
value.bind( function( to ) {
if ( 'blank' == to ) {
- if ( 'remove-header' == _wpCustomizeSettings.values.header_image )
+ if ( 'remove-header' == wp.customize.instance( 'header_image' ).get() ) {
$( '.home-link' ).css( 'min-height', '0' );
+ }
$( '.site-title, .site-description' ).css( {
'clip': 'rect(1px, 1px, 1px, 1px)',
'position': 'absolute'