Browse Source

tiny docs fix

Artur Paikin 7 năm trước cách đây
mục cha
commit
8a3c867a10
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      website/src/docs/index.md

+ 2 - 3
website/src/docs/index.md

@@ -17,8 +17,7 @@ const Tus10 = require('uppy/lib/plugins/Tus10')
  
 const uppy = Uppy({ autoProceed: false })
   .use(Dashboard, {
-    trigger: '#select-files',
-    replaceTargetContent: true
+    trigger: '#select-files'
   })
   .use(Tus10, {endpoint: '//master.tus.io/files/'})
   .run()
@@ -61,7 +60,7 @@ If you like, you can also use a pre-built bundle, for example from [unpkg CDN](h
 
 ``` html
 <script>
-  var uppy = Uppy.Core()
+  var uppy = Uppy.Core({ autoProceed: false })
   uppy.use(Uppy.DragDrop, {target: '.UppyDragDrop'})
   uppy.use(Uppy.Tus10, {endpoint: '//master.tus.io/files/'})
   uppy.run()