Explorar o código

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

Artur Paikin %!s(int64=4) %!d(string=hai) anos
pai
achega
105385561e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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' })