diff --git a/public/src/js/controllers/currency.js b/public/src/js/controllers/currency.js index aee5816..27d24a2 100644 --- a/public/src/js/controllers/currency.js +++ b/public/src/js/controllers/currency.js @@ -20,7 +20,7 @@ angular.module('flosight.currency').controller('CurrencyController', if (this.symbol === 'USD') { response = _roundFloat((value * this.factor), 2); - } else if (this.symbol === 'mBTC') { + } else if (this.symbol === 'mFLO') { this.factor = 1000; response = _roundFloat((value * this.factor), 5); } else if (this.symbol === 'bits') { @@ -47,7 +47,7 @@ angular.module('flosight.currency').controller('CurrencyController', Currency.get({}, function(res) { $rootScope.currency.factor = $rootScope.currency.bitstamp = res.data.bitstamp; }); - } else if (currency === 'mBTC') { + } else if (currency === 'mFLO') { $rootScope.currency.factor = 1000; } else if (currency === 'bits') { $rootScope.currency.factor = 1000000; diff --git a/public/src/js/controllers/header.js b/public/src/js/controllers/header.js index c62c2d1..2579488 100644 --- a/public/src/js/controllers/header.js +++ b/public/src/js/controllers/header.js @@ -7,7 +7,7 @@ angular.module('flosight.system').controller('HeaderController', $rootScope.currency = { factor: 1, bitstamp: 0, - symbol: 'BTC' + symbol: 'FLO' }; $scope.menu = [{ diff --git a/public/views/includes/currency.html b/public/views/includes/currency.html index 483893b..9d85f3f 100644 --- a/public/views/includes/currency.html +++ b/public/views/includes/currency.html @@ -6,10 +6,10 @@ USD
  • - BTC + FLO
  • - mBTC + mFLO
  • bits