Ticket #33228: 33228.patch
File 33228.patch, 1.1 KB (added by , 9 years ago) |
---|
-
src/wp-admin/js/customize-controls.js
3041 3041 return; 3042 3042 } 3043 3043 3044 var parent, topFocus,3044 var parent, 3045 3045 body = $( document.body ), 3046 3046 overlay = body.children( '.wp-full-overlay' ), 3047 3047 title = $( '#customize-info .panel-title.site-title' ), … … 3555 3555 3556 3556 api.trigger( 'ready' ); 3557 3557 3558 // Make sure left column gets focus3559 topFocus = closeBtn;3560 topFocus.focus();3561 setTimeout(function () {3562 topFocus.focus();3563 }, 200);3564 3565 3558 }); 3566 3559 3567 3560 })( wp, jQuery ); -
src/wp-includes/js/customize-loader.js
232 232 */ 233 233 loaded: function() { 234 234 Loader.body.removeClass('customize-loading'); 235 // Make sure the overlay gets focus. 236 Loader.iframe.contents().find( '.wp-full-overlay.expanded' ).attr( 'tabindex', 0 ).focus(); 235 237 }, 236 238 237 239 /**