diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
index b3b4433..baeb292 100644
|
|
|
|
| 68 | 68 | params = params || {}; |
| 69 | 69 | focus = function () { |
| 70 | 70 | var focusContainer; |
| 71 | | if ( construct.expanded && construct.expanded() ) { |
| 72 | | focusContainer = construct.container.find( 'ul:first' ); |
| | 71 | if ( construct.extended( api.Panel ) && construct.expanded && construct.expanded() ) { |
| | 72 | focusContainer = construct.container.find( 'ul.control-panel-content' ); |
| | 73 | } else if ( construct.extended( api.Section ) && construct.expanded && construct.expanded() ) { |
| | 74 | focusContainer = construct.container.find( 'ul.accordion-section-content' ); |
| 73 | 75 | } else { |
| 74 | 76 | focusContainer = construct.container; |
| 75 | 77 | } |