Ticket #33228: 33228.2.patch
File 33228.2.patch, 2.0 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/common.css
164 164 display: none; 165 165 } 166 166 167 /* hide UI sections and allow inner sections to be visible */ 168 .hidden-visibility { 169 visibility: hidden; 170 } 171 172 .visible-visibility { 173 visibility: visible; 174 } 175 167 176 /* @todo: Take a second look. Large chunks of shared color, from the colors.css merge */ 168 177 .widget-top, 169 178 .menu-item-handle, -
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
208 208 document.title = this.originalDocumentTitle; 209 209 } 210 210 211 Loader.body.removeClass( 'hidden-visibility' ); 212 211 213 // Return focus to link that was originally clicked. 212 214 if ( this.link ) { 213 215 this.link.focus(); … … 231 233 * Callback for the `load` event on the Customizer iframe. 232 234 */ 233 235 loaded: function() { 234 Loader.body.removeClass('customize-loading'); 236 // Make the overlay the only visible and focusable content. 237 Loader.body.removeClass( 'customize-loading' ).addClass( 'hidden-visibility' ); 238 Loader.element.addClass( 'visible-visibility' ); 235 239 }, 236 240 237 241 /**