mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Closing currency selection dialog once invoice expired or paid
This commit is contained in:
parent
203494e809
commit
a2d17bfa7e
@ -16,6 +16,8 @@ function resetTabsSlider() {
|
||||
|
||||
$("#altcoins").hide();
|
||||
$("#altcoins").removeClass("active");
|
||||
|
||||
closePaymentMethodDialog(null);
|
||||
}
|
||||
|
||||
function onDataCallback(jsonData) {
|
||||
@ -69,7 +71,7 @@ function onDataCallback(jsonData) {
|
||||
}
|
||||
|
||||
function changeCurrency(currency) {
|
||||
if (srvModel.paymentMethodId !== currency) {
|
||||
if (currency !== null && srvModel.paymentMethodId !== currency) {
|
||||
$(".payment__currencies").hide();
|
||||
$(".payment__spinner").show();
|
||||
srvModel.paymentMethodId = currency;
|
||||
|
Loading…
Reference in New Issue
Block a user