Ticket #20582: 20582.dragdrop.patch
File 20582.dragdrop.patch, 578 bytes (added by , 13 years ago) |
---|
-
wp-includes/js/plupload/wp-plupload.dev.js
121 121 }; 122 122 123 123 Uploader.dragdrop = (function() { 124 // Thank you, Modernizr! 125 // http://modernizr.com/ 126 var div = document.createElement('div'); 127 return ('draggable' in div) || ('ondragstart' in div && 'ondrop' in div); 124 return ( 'draggable' in document.createElement('span') ) 128 125 }()); 129 126 130 127 $( function() {