equal
deleted
inserted
replaced
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 { |