Avoid flickering on Send form
This commit is contained in:
parent
643846ad95
commit
747257a5ee
2 changed files with 24 additions and 10 deletions
|
|
@ -328,6 +328,19 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
};
|
||||
|
||||
// Send
|
||||
|
||||
this.canShowAlternative = function() {
|
||||
return $scope.showAlternative;
|
||||
};
|
||||
|
||||
this.showAlternative = function() {
|
||||
$scope.showAlternative = true;
|
||||
};
|
||||
|
||||
this.hideAlternative = function() {
|
||||
$scope.showAlternative = false;
|
||||
};
|
||||
|
||||
this.resetError = function() {
|
||||
this.error = this.success = null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue