wp/wp-admin/js/customize-widgets.js
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
  1455 
  1455 
  1456 				self.container.trigger( 'expand' );
  1456 				self.container.trigger( 'expand' );
  1457 				self.container.addClass( 'expanding' );
  1457 				self.container.addClass( 'expanding' );
  1458 			};
  1458 			};
  1459 
  1459 
  1460 			if ( expanded ) {
  1460 			if ( $toggleBtn.attr( 'aria-expanded' ) === 'false' ) {
  1461 				if ( api.section.has( self.section() ) ) {
  1461 				if ( api.section.has( self.section() ) ) {
  1462 					api.section( self.section() ).expand( {
  1462 					api.section( self.section() ).expand( {
  1463 						completeCallback: expandControl
  1463 						completeCallback: expandControl
  1464 					} );
  1464 					} );
  1465 				} else {
  1465 				} else {