diff --git a/BTCPayServer/wwwroot/checkout/js/core.js b/BTCPayServer/wwwroot/checkout/js/core.js index 1e5f2d225..2e327bbe4 100644 --- a/BTCPayServer/wwwroot/checkout/js/core.js +++ b/BTCPayServer/wwwroot/checkout/js/core.js @@ -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;