diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-12-17 13:30:34 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-12-17 13:30:34 +0100 |
commit | b93638b6935e7fb179385cd38a1691372b4c8432 (patch) | |
tree | e36ab895ff4a39599d626cf0ff70e965f68ae9b2 /extension/content_scripts/notify.js | |
parent | c3a9888dfe308e063fc9edaebcc834d8d1896224 (diff) | |
download | wallet-core-b93638b6935e7fb179385cd38a1691372b4c8432.tar.xz |
Add types, simplify balance display.
Diffstat (limited to 'extension/content_scripts/notify.js')
-rw-r--r-- | extension/content_scripts/notify.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/content_scripts/notify.js b/extension/content_scripts/notify.js index 640c5bdc6..e86c0f84f 100644 --- a/extension/content_scripts/notify.js +++ b/extension/content_scripts/notify.js @@ -44,10 +44,10 @@ document.addEventListener("DOMContentLoaded", function(e) { }); document.body.addEventListener('taler-contract', function(e) { // XXX: the merchant should just give us the parsed data ... - let contract = JSON.parse(e.detail); + let offer = JSON.parse(e.detail); let uri = URI(chrome.extension.getURL("pages/confirm-contract.html")); let params = { - contract: JSON.stringify(contract) + offer: JSON.stringify(offer) } document.location.href = uri.query(params).href(); }); |