Changeset 20837
- Timestamp:
- 05/21/2012 07:53:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/customize-controls.dev.js
r20816 r20837 461 461 // Temporary accordion code. 462 462 $('.customize-section-title').click( function() { 463 $( this ).parents('.customize-section').toggleClass( 'open' ); 463 var clicked = $( this ).parents( '.customize-section' ); 464 $( '.customize-section' ).not( clicked ).removeClass( 'open' ); 465 clicked.toggleClass( 'open' ); 464 466 return false; 465 467 });
Note: See TracChangeset
for help on using the changeset viewer.