Changeset 33939
- Timestamp:
- 09/07/2015 05:58:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/customize-controls.js
r33938 r33939 83 83 focus = function () { 84 84 var focusContainer; 85 if ( construct.expanded && construct.expanded() ) { 86 focusContainer = construct.container.find( 'ul:first' ); 85 if ( construct.extended( api.Panel ) && construct.expanded && construct.expanded() ) { 86 focusContainer = construct.container.find( 'ul.control-panel-content' ); 87 } else if ( construct.extended( api.Section ) && construct.expanded && construct.expanded() ) { 88 focusContainer = construct.container.find( 'ul.accordion-section-content' ); 87 89 } else { 88 90 focusContainer = construct.container;
Note: See TracChangeset
for help on using the changeset viewer.