Merge pull request #5909 from cmgustavo/bug/paste-amount-01

Fix delete amount after paste a value (only desktop)
This commit is contained in:
Gabriel Edgardo Bazán 2017-04-20 17:24:54 +02:00 committed by GitHub
commit 0b3e5b020c
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
};
$scope.removeDigit = function() {
$scope.amount = $scope.amount.slice(0, -1);
$scope.amount = ($scope.amount).toString().slice(0, -1);
processAmount();
checkFontSize();
};