From 55f002144478215107462592591aa239209e2900 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Wed, 28 Jun 2017 10:49:20 -0300 Subject: [PATCH] Removes unused variable --- src/js/controllers/topup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controllers/topup.js b/src/js/controllers/topup.js index c75672b42..3b72623c6 100644 --- a/src/js/controllers/topup.js +++ b/src/js/controllers/topup.js @@ -50,7 +50,7 @@ angular.module('copayApp.controllers').controller('topUpController', function($s var statusChangeHandler = function (processName, showName, isOn) { $log.debug('statusChangeHandler: ', processName, showName, isOn); - if (processName == 'topup' && !isOn && !hasError) { + if (processName == 'topup' && !isOn) { $scope.sendStatus = 'success'; $timeout(function() { $scope.$digest();