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