Merged fix for amount directive.

This commit is contained in:
Brendon Duncan 2018-07-31 19:51:19 +12:00
commit 97aa7c415e
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ angular.module('bitcoincom.directives')
},
templateUrl: 'views/includes/amount.html',
controller: ['$scope', function($scope) {
if (typeof $scope.sizeEqual == 'undefined') $scope.sizeEqual = false;
$scope.displaySizeEqual = typeof $scope.sizeEqual == 'undefined' ? false : true;
var decimalPlaces = {
'0': ['BIF', 'CLP', 'DJF', 'GNF', 'ILS', 'JPY', 'KMF', 'KRW', 'MGA', 'PYG', 'RWF', 'UGX', 'VND', 'VUV', 'XAF', 'XOF', 'XPF'],