Ticket #36337: 36337.diff
File 36337.diff, 743 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/js/customize-controls.js
91 91 } 92 92 93 93 // Note that we can't use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583 94 focusContainer.find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ). first().focus();94 focusContainer.find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ).not( '.remove-button' ).first().focus(); 95 95 }; 96 96 if ( params.completeCallback ) { 97 97 completeCallback = params.completeCallback;