diff --git a/cash_payments_handler.html b/cash_payments_handler.html index 4087627..1e2ba43 100644 --- a/cash_payments_handler.html +++ b/cash_payments_handler.html @@ -13862,6 +13862,7 @@ const RM_WALLET = new localbitcoinplusplus.wallets; Array.from(recv_deposit_btn).forEach(function(element) { element.addEventListener("click", async function(evt) { + let btn = this; evt.preventDefault(); const deposit_id = this.value; const req_info = document.getElementById(`depositSpan${deposit_id}`); @@ -13959,7 +13960,7 @@ throw new Error(`Failed to inform Supernode of cash deposit: ${flo_txid}`); } - })() + }.bind(btn))() }); });