aboutsummaryrefslogtreecommitdiff
path: root/extension/popup/wallet.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-12-16 05:53:55 +0100
committerFlorian Dold <florian.dold@gmail.com>2015-12-16 05:53:55 +0100
commit331547059868a0e36acf5f2efac71ecbd1a96c8c (patch)
tree9dae9645110e7bcf3feb907876e7118256f76965 /extension/popup/wallet.js
parentccce0f9749f756fb4c681dc23d2386dc2f85dc6d (diff)
show badge
Diffstat (limited to 'extension/popup/wallet.js')
-rw-r--r--extension/popup/wallet.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/extension/popup/wallet.js b/extension/popup/wallet.js
index ef35193bd..da8cf72d3 100644
--- a/extension/popup/wallet.js
+++ b/extension/popup/wallet.js
@@ -79,12 +79,12 @@ function update_currency (currency, amount)
}
document.addEventListener('DOMContentLoaded', (e) => {
- chrome.runtime.sendMessage({type: "WALLET_GET"}, function(wallet) {
- for (let currency in wallet) {
- let amount = amount_format(wallet[currency]);
- add_currency(currency, amount);
- }
- });
+ //chrome.runtime.sendMessage({type: "WALLET_GET"}, function(wallet) {
+ // for (let currency in wallet) {
+ // let amount = amount_format(wallet[currency]);
+ // add_currency(currency, amount);
+ // }
+ //});
// FIXME: remove
add_currency('EUR', 42);