mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-06 07:34:26 +01:00
Closing currency selection dialog once invoice expired or paid
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user