From 934409433e13b3444c1c5758e279ae8fc4191294 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Sat, 15 Oct 2016 09:45:44 -0300 Subject: [PATCH] format --- src/js/controllers/tab-send.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/js/controllers/tab-send.js b/src/js/controllers/tab-send.js index 926e017b8..5334efc50 100644 --- a/src/js/controllers/tab-send.js +++ b/src/js/controllers/tab-send.js @@ -113,8 +113,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function( var updateHasFunds = function() { $scope.hasFunds = true; - if ($rootScope.everHasFunds) + if ($rootScope.everHasFunds) { return; + } var wallets = profileService.getWallets({ onlyComplete: true, @@ -137,7 +138,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function( return; } walletsTotalBalance = walletsTotalBalance + status.availableBalanceSat; - if (walletsTotalBalance>0) { + if (walletsTotalBalance > 0) { $rootScope.everHasFunds = true; } if (index == wallets.length && walletsTotalBalance == 0) {