mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
[BUG FIX]: Coinswitch exchange with altcoins popup not showing bug fix
This commit is contained in:
parent
a6e52ed3df
commit
77338c6054
@ -39,7 +39,10 @@
|
||||
to_amount: parseFloat(toCurrencyDue),
|
||||
state: orderId
|
||||
};
|
||||
waitForCoinSwitch();
|
||||
|
||||
payment.on('Exchange:Ready', function(){
|
||||
waitForCoinSwitch();
|
||||
})
|
||||
|
||||
function waitForCoinSwitch() {
|
||||
if (typeof payment.open !== "function") {
|
||||
|
Loading…
Reference in New Issue
Block a user