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:
Lance Willett 2012-10-10 20:47:07 +00:00
parent f2b148799a
commit 03e616cc7c
1 changed files with 1 additions and 1 deletions

View File

@ -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' );