From 04856aecf09fd7201450d4520196681a49821b44 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 20 Apr 2017 11:48:44 -0300 Subject: [PATCH] Fix delete amount after paste a value (only desktop) --- src/js/controllers/amount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controllers/amount.js b/src/js/controllers/amount.js index 83634db45..aad224372 100644 --- a/src/js/controllers/amount.js +++ b/src/js/controllers/amount.js @@ -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(); };