Ticket #29166: 29166.diff
File 29166.diff, 599 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/js/media-views.js
3243 3243 // Disable page scrolling. 3244 3244 $( 'body' ).addClass( 'modal-open' ); 3245 3245 3246 $el.show() .find( '.media-modal-close' ).focus();3246 $el.show(); 3247 3247 3248 3248 // Try to close the onscreen keyboard 3249 3249 if ( 'ontouchend' in document ) { … … 3257 3257 } 3258 3258 } 3259 3259 3260 $el.find( '.media-modal-close' ).focus(); 3261 3260 3262 return this.propagate('open'); 3261 3263 }, 3262 3264