Make WordPress Core

Ticket #29577: 29577.2.diff

File 29577.2.diff, 763 bytes (added by kdoran, 10 years ago)
  • src/wp-content/themes/twentythirteen/js/theme-customizer.js

    diff --git src/wp-content/themes/twentythirteen/js/theme-customizer.js src/wp-content/themes/twentythirteen/js/theme-customizer.js
    index 640db0f..6e9d617 100644
     
    2121        wp.customize( 'header_textcolor', function( value ) {
    2222                value.bind( function( to ) {
    2323                        if ( 'blank' == to ) {
    24                                 if ( 'remove-header' == _wpCustomizeSettings.values.header_image )
     24                                if ( 'remove-header' == wp.customize.instance( 'header_image' ).get() ) {
    2525                                        $( '.home-link' ).css( 'min-height', '0' );
     26                }
    2627                                $( '.site-title, .site-description' ).css( {
    2728                                        'clip': 'rect(1px, 1px, 1px, 1px)',
    2829                                        'position': 'absolute'