mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
Add uppy-DragDrop-input class name back, to fix tests and potential backwards-compat customizations
This commit is contained in:
parent
d46ba6f28e
commit
ab88612dff
1 changed files with 2 additions and 2 deletions
|
|
@ -142,6 +142,7 @@ module.exports = class DragDrop extends Plugin {
|
|||
const restrictions = this.uppy.opts.restrictions
|
||||
return (
|
||||
<input
|
||||
class="uppy-DragDrop-input"
|
||||
type="file"
|
||||
hidden
|
||||
ref={(ref) => { this.fileInputRef = ref }}
|
||||
|
|
@ -178,8 +179,7 @@ module.exports = class DragDrop extends Plugin {
|
|||
}
|
||||
|
||||
render (state) {
|
||||
const dragDropClass = `
|
||||
uppy-Root
|
||||
const dragDropClass = `uppy-Root
|
||||
uppy-u-reset
|
||||
uppy-DragDrop-container
|
||||
${this.isDragDropSupported ? 'uppy-DragDrop--isDragDropSupported' : ''}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue