fixed binding this error
This commit is contained in:
parent
fd643d1fff
commit
4ac49b54c3
@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user