aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/website/index.html b/website/index.html
index c79f3bbbb..4dff2a7ad 100644
--- a/website/index.html
+++ b/website/index.html
@@ -89,7 +89,12 @@
function wire_funds(){
- var trigger = new Event("taler-create-reserve");
+ let wallet_param = {
+ 'currencies' : new Array("KUDOS"),
+ 'input_name' : 'reserve-pk-id',
+ 'base_url' : window.location.host
+ };
+ var trigger = new CustomEvent("taler-create-reserve", {detail: wallet_param});
document.body.dispatchEvent(trigger);
};