btcpayserver/BTCPayServer/wwwroot/checkout/js/checkout.js

5 lines
No EOL
171 B
JavaScript

delegate('click', '.payment-method', e => {
const el = e.target.closest('.payment-method')
closePaymentMethodDialog(el.dataset.paymentMethod);
return false;
})