Arc
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
lnbits/extensions/withdraw/templates/withdraw/index.html
|
@ -470,11 +470,11 @@ function editlinkcont(){ |
|
|
return amt |
|
|
return amt |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (isNaN(maxamt) || maxamt < 10 || maxamt > 1000000) { |
|
|
if (isNaN(maxamt) || maxamt < 10) { |
|
|
document.getElementById("error2").innerHTML = "Max 10 - 1000000 and must be higher than min" |
|
|
document.getElementById("error2").innerHTML = "Max 10 - 1000000 and must be higher than min" |
|
|
return amt |
|
|
return amt |
|
|
} |
|
|
} |
|
|
if (isNaN(minamt) || minamt < 1 || minamt > 1000000 || minamt > maxamt) { |
|
|
if (isNaN(minamt) || minamt < 1 || minamt > maxamt) { |
|
|
document.getElementById("error2").innerHTML = "Min 1 - 1000000 and must be lower than max" |
|
|
document.getElementById("error2").innerHTML = "Min 1 - 1000000 and must be lower than max" |
|
|
return amt |
|
|
return amt |
|
|
} |
|
|
} |
|
|