Twenty Twelve: remove a duplicate/misplaced condition in theme-customizer.js, props DrewAPicture. Closes #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@22168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4d1bc9bb6d
commit
ce1fc87461
|
@ -21,7 +21,7 @@
|
|||
// Hook into background color change and adjust body class value as needed.
|
||||
wp.customize( 'background_color', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
if ( '#ffffff' == to || '#fff' == to || '' == to )
|
||||
if ( '#ffffff' == to || '#fff' == to )
|
||||
$( 'body' ).addClass( 'custom-background-white' );
|
||||
else if ( '' == to )
|
||||
$( 'body' ).addClass( 'custom-background-empty' );
|
||||
|
|
Loading…
Reference in New Issue