Changeset 33596
- Timestamp:
- 08/08/2015 09:36:55 AM (10 years ago)
- Location:
- trunk/src/wp-admin/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/customize-controls.js
r33492 r33596 74 74 focusContainer = construct.container; 75 75 } 76 focusContainer.find( ':focusable:first' ).focus(); 77 focusContainer[0].scrollIntoView( true ); 76 77 // Note that we can't use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583 78 focusContainer.find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ).first().focus(); 78 79 }; 79 80 if ( params.completeCallback ) { -
trunk/src/wp-admin/js/customize-widgets.js
r33488 r33596 1271 1271 if ( expanded ) { 1272 1272 1273 if ( 'undefined' != typeof api.section( self.section ) && ! api.section( self.section ).expanded() ) {1273 if ( self.section() && api.section( self.section() ) ) { 1274 1274 self.expandControlSection(); 1275 1275 }
Note: See TracChangeset
for help on using the changeset viewer.