mirror of https://github.com/gogs/gogs.git
Set timeout to explicit 0 in gogs.js
parent
6bdbb88fb8
commit
dea2d24b4b
|
@ -1474,6 +1474,7 @@ $(document).ready(function() {
|
||||||
headers: { "X-CSRF-Token": csrf },
|
headers: { "X-CSRF-Token": csrf },
|
||||||
maxFiles: $dropzone.data("max-file"),
|
maxFiles: $dropzone.data("max-file"),
|
||||||
maxFilesize: $dropzone.data("max-size"),
|
maxFilesize: $dropzone.data("max-size"),
|
||||||
|
timeout: 0,
|
||||||
acceptedFiles:
|
acceptedFiles:
|
||||||
$dropzone.data("accepts") === "*/*" ? null : $dropzone.data("accepts"),
|
$dropzone.data("accepts") === "*/*" ? null : $dropzone.data("accepts"),
|
||||||
addRemoveLinks: true,
|
addRemoveLinks: true,
|
||||||
|
|
Loading…
Reference in New Issue