diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-12-17 23:34:39 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-12-17 23:34:39 +0100 |
commit | 0d5c37a49e688503dc2933d379c68541dd432248 (patch) | |
tree | b2218c700c7856286f64aab6827bc1a82c052e68 /extension/popup/balance-overview.js | |
parent | 38c947d7712d77070ca521b4718032fb31c0f108 (diff) | |
download | wallet-core-0d5c37a49e688503dc2933d379c68541dd432248.tar.xz |
Fix some payment bugs.
It still doesn't work, some of the emscripten interface stuff
still needs to be finished.
Diffstat (limited to 'extension/popup/balance-overview.js')
-rw-r--r-- | extension/popup/balance-overview.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/popup/balance-overview.js b/extension/popup/balance-overview.js index b2c5e0837..946ddc6b3 100644 --- a/extension/popup/balance-overview.js +++ b/extension/popup/balance-overview.js @@ -20,6 +20,7 @@ document.addEventListener('DOMContentLoaded', (e) => { let context = document.getElementById("balance-template").innerHTML; let template = Handlebars.compile(context); document.getElementById("content").innerHTML = template(wallet); + console.log("got wallet", JSON.stringify(wallet)); let el = document.getElementById("link-kudos"); if (el) { el.onclick = (e) => { @@ -37,5 +38,6 @@ document.addEventListener('DOMContentLoaded', (e) => { }); document.getElementById("reset").addEventListener("click", (e) => { chrome.runtime.sendMessage({ type: "reset" }); + window.close(); }); }); |