From af10c8274a28002b5bf2283d78abd0a2f583e663 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Mon, 24 Feb 2020 18:13:08 +0000 Subject: [PATCH] Update index.html --- lnbits/extensions/withdraw/templates/withdraw/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/withdraw/templates/withdraw/index.html b/lnbits/extensions/withdraw/templates/withdraw/index.html index a62b9c3..046ee45 100644 --- a/lnbits/extensions/withdraw/templates/withdraw/index.html +++ b/lnbits/extensions/withdraw/templates/withdraw/index.html @@ -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 }