fixed broken send max button
This commit is contained in:
parent
64b11fba3a
commit
0b2ef6736a
2 changed files with 10 additions and 15 deletions
|
|
@ -213,7 +213,6 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
||||||
$scope.finish();
|
$scope.finish();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
$scope.toggleAlternative = function() {
|
$scope.toggleAlternative = function() {
|
||||||
if ($scope.amountModel.amount && isExpression($scope.amountModel.amount)) {
|
if ($scope.amountModel.amount && isExpression($scope.amountModel.amount)) {
|
||||||
var amount = evaluate(format($scope.amountModel.amount));
|
var amount = evaluate(format($scope.amountModel.amount));
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,11 @@
|
||||||
<div class="amount__result-equiv">≈ {{alternativeAmount || '0.00'}} {{alternativeUnit}}</div>
|
<div class="amount__result-equiv">≈ {{alternativeAmount || '0.00'}} {{alternativeUnit}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button class="button button-sendmax">
|
<button class="button button-sendmax" ng-click="sendMax()">
|
||||||
<a ng-click="sendMax()">
|
<span>
|
||||||
<span>
|
<i class="icon ion-ios-speedometer-outline"></i> 
|
||||||
<i class="icon ion-ios-speedometer-outline"></i> 
|
<span translate>Send max amount</span>
|
||||||
<span translate>Send max amount</span>
|
</span>
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -76,13 +74,11 @@
|
||||||
<span>≈ {{alternativeAmount || '0.00'}} {{alternativeUnit}}</span>
|
<span>≈ {{alternativeAmount || '0.00'}} {{alternativeUnit}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button class="button button-sendmax">
|
<button class="button button-sendmax" ng-click="sendMax()">
|
||||||
<a ng-click="sendMax()">
|
<span>
|
||||||
<span>
|
<i class="icon ion-ios-speedometer-outline"></i> 
|
||||||
<i class="icon ion-ios-speedometer-outline"></i> 
|
<span translate>Send max amount</span>
|
||||||
<span translate>Send max amount</span>
|
</span>
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue