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:
Lance Willett 2012-10-10 20:47:07 +00:00
parent 78359d7c29
commit a2befeb6a8
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' );