mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-26 17:51:53 +01:00
Update index.html
This commit is contained in:
parent
6f06bcfb36
commit
af10c8274a
@ -328,11 +328,11 @@ function postfau(){
|
||||
return amt
|
||||
}
|
||||
|
||||
if (isNaN(maxamt) || maxamt < 10 || maxamt > 1000000) {
|
||||
if (isNaN(maxamt) || maxamt < 10) {
|
||||
document.getElementById("error").innerHTML = "Max 15 - 1000000 and must be higher than min"
|
||||
return amt
|
||||
}
|
||||
if (isNaN(minamt) || minamt < 1 || minamt > 1000000 || minamt > maxamt) {
|
||||
if (isNaN(minamt) || minamt < 1 || minamt > maxamt) {
|
||||
document.getElementById("error").innerHTML = "Min 1 - 1000000 and must be lower than max"
|
||||
return amt
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user