Twenty Twelve: remove a duplicate/misplaced condition in theme-customizer.js, props DrewAPicture. Closes #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@22168 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f2b148799a
commit
03e616cc7c
@ -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
Block a user