浏览代码

change the browserBackButtonClose default to false in the website example sample code, for safety

Artur Paikin 4 年之前
父节点
当前提交
105385561e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      website/src/examples/dashboard/index.ejs

+ 1 - 1
website/src/examples/dashboard/index.ejs

@@ -56,7 +56,7 @@ const uppy = new Uppy({
     { id: 'name', name: 'Name', placeholder: 'file name' },
     { id: 'caption', name: 'Caption', placeholder: 'describe what the image is about' }
   ],
-  browserBackButtonClose: true
+  browserBackButtonClose: false
 })
 .use(GoogleDrive, { target: Dashboard, companionUrl: 'https://companion.uppy.io' })
 .use(Dropbox, { target: Dashboard, companionUrl: 'https://companion.uppy.io' })