Ticket #27620: 27620.patch
File 27620.patch, 698 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/js/customize-controls.js
198 198 init: function() { 199 199 var fallback, button; 200 200 201 if ( this.support s.dragdrop)201 if ( this.supported ) 202 202 return; 203 203 204 204 // Maintain references while wrapping the fallback button. 205 205 fallback = control.container.find( '.upload-fallback' ); 206 206 button = fallback.children().detach(); 207 207 208 this.dropzone.hide(); 208 209 this.browser.detach().empty().append( button ); 209 210 fallback.append( this.browser ).show(); 210 211 }