Artur Paikin 8 роки тому
батько
коміт
2f820a89dc
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -40,7 +40,7 @@ import { DragDrop, Tus10 } from 'uppy/plugins'
 
 const uppy = new Uppy({wait: false})
 const files = uppy
-  .use(DragDrop, {selector: '#upload-target'})
+  .use(DragDrop, {target: '#upload-target'})
   .use(Tus10, {endpoint: 'http://master.tus.io:8080/files/'})
   .run()
 ```