{{vm.sendingTitle}}
-{{vm.primaryAmount}} {{vm.primaryCurrency}}
-{{vm.secondaryAmount}} {{vm.secondaryCurrency}}
+diff --git a/src/js/directives/formattedAmount.js b/src/js/directives/formattedAmount.js
index 68bb50781..f66a0ac78 100644
--- a/src/js/directives/formattedAmount.js
+++ b/src/js/directives/formattedAmount.js
@@ -86,7 +86,6 @@
}
function formatNumbers() {
- console.log('formatNumbers() "' + $scope.value + '", "' + $scope.currency + '"');
// Might get "< 0.01 USD" being passed in.
// During watch, may be changed from having a separate currency value,
// to both being in value. Don't want to use previous currency value.
@@ -105,6 +104,9 @@
return;
}
+ // Remove thousands separators for parseFloat()
+ $scope.value = $scope.value.replace(',', '');
+
var parsed = parseFloat($scope.value);
var valueFormatted = '';
var valueProcessing = '';
diff --git a/www/views/includes/txp.html b/www/views/includes/txp.html
index 4a1f07aaf..82391bfa2 100644
--- a/www/views/includes/txp.html
+++ b/www/views/includes/txp.html
@@ -24,7 +24,7 @@
(possible double spend)
- – {{tx.amountStr}}
+ –
{{vm.sendingTitle}}
-{{vm.primaryAmount}} {{vm.primaryCurrency}}
-{{vm.secondaryAmount}} {{vm.secondaryCurrency}}
+