summaryrefslogtreecommitdiff
path: root/examples/blog/essay_cc-form.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/essay_cc-form.html')
-rw-r--r--examples/blog/essay_cc-form.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/blog/essay_cc-form.html b/examples/blog/essay_cc-form.html
index 42a7ae16..7e0c04ed 100644
--- a/examples/blog/essay_cc-form.html
+++ b/examples/blog/essay_cc-form.html
@@ -67,8 +67,13 @@
}
var walletNotPresent = false;
+ var timer;
function has_taler_wallet_cb(aEvent){
+ if (timer) {
+ window.clearTimeout(timer);
+ timer = void 0;
+ }
if (walletNotPresent) {
return;
}
@@ -87,7 +92,7 @@
has_taler_wallet_cb,
false);
- window.setTimeout(handleTimeout, 300);
+ timer = window.setTimeout(handleTimeout, 250);
function executePayment(H_contract, pay_url, offering_url) {
var detail = {