merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 691d5288fca46ced4ffd391229660969355c875b
parent 586e3c28f6349b460ee92da5c86bbbed4b1e997f
Author: Florian Dold <florian.dold@gmail.com>
Date:   Wed,  2 Mar 2016 05:12:16 +0100

cancel timeout

Diffstat:
Mexamples/blog/essay_cc-form.html | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 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 = {