diff --git a/cash_payments_handler.html b/cash_payments_handler.html index 26a21b9..8fb3b50 100644 --- a/cash_payments_handler.html +++ b/cash_payments_handler.html @@ -13862,7 +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; + //let btn = this; evt.preventDefault(); const deposit_id = this.value; const req_info = document.getElementById(`depositSpan${deposit_id}`); @@ -13960,7 +13960,7 @@ throw new Error(`Failed to inform Supernode of cash deposit: ${flo_txid}`); } - }.bind(btn))() + }.bind(this))() }); }); @@ -13974,7 +13974,7 @@ element.addEventListener("click", function(evt) { evt.preventDefault(); - let btn = this; + //let btn = this; const withdraw_id = this.value; const req_info = document.getElementById(`withdrawSpan${withdraw_id}`); const req_info_arr = req_info.value.split("_"); @@ -14009,7 +14009,7 @@ return true; - }.bind(btn)); + }.bind(this)); }); }