Changeset 20263 for trunk/wp-includes/js/customize-controls.dev.js
- Timestamp:
- 03/22/2012 08:07:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/customize-controls.dev.js
r20261 r20263 246 246 if ( data.visibility ) { 247 247 api( data.visibility.id, function( other ) { 248 other.bind( function( to ) { 249 control.container.toggle( to == data.visibility.value ); 250 }); 248 if ( 'boolean' === typeof data.visibility.value ) { 249 other.bind( function( to ) { 250 control.container.toggle( !! to == data.visibility.value ); 251 }); 252 } else { 253 other.bind( function( to ) { 254 control.container.toggle( to == data.visibility.value ); 255 }); 256 } 251 257 }); 252 258 }
Note: See TracChangeset
for help on using the changeset viewer.