Fix limite de téléchargements
This commit is contained in:
parent
61db0c5350
commit
a0ad9a6814
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ function upload(file,exp,maxdl) {
|
||||||
if (exp != "") {
|
if (exp != "") {
|
||||||
xhr.setRequestHeader('Max-Days',exp);
|
xhr.setRequestHeader('Max-Days',exp);
|
||||||
}
|
}
|
||||||
if (maxdl != "") {
|
if (maxdl != 0) {
|
||||||
xhr.setRequestHeader('Max-Downloads',maxdl);
|
xhr.setRequestHeader('Max-Downloads',maxdl);
|
||||||
}
|
}
|
||||||
// send file
|
// send file
|
||||||
|
|
Loading…
Reference in a new issue