Browse Source

Update index.html

fee_issues
Arc 5 years ago
committed by GitHub
parent
commit
af10c8274a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lnbits/extensions/withdraw/templates/withdraw/index.html

4
lnbits/extensions/withdraw/templates/withdraw/index.html

@ -328,11 +328,11 @@ function postfau(){
return amt 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" document.getElementById("error").innerHTML = "Max 15 - 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("error").innerHTML = "Min 1 - 1000000 and must be lower than max" document.getElementById("error").innerHTML = "Min 1 - 1000000 and must be lower than max"
return amt return amt
} }

Loading…
Cancel
Save