diff --git a/index.html b/index.html index c369e0920..8d286503e 100644 --- a/index.html +++ b/index.html @@ -649,9 +649,10 @@
0) { - if ($rootScope.availableBalance <= vNum) { + if (availableBalanceNum < vNum) { ctrl.$setValidity('enoughAmount', false); - scope.notEnoughAmount = 'Insufficient funds!'; + scope.notEnoughAmount = true; } else { ctrl.$setValidity('enoughAmount', true); scope.notEnoughAmount = null;