mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 13:26:47 +01:00
Cleanup old checkout related settings code
This commit is contained in:
parent
3046fe0f0b
commit
9175af4abe
@ -33,16 +33,12 @@
|
||||
: ''
|
||||
});
|
||||
delegate('click', '#Presets_InStore', e => {
|
||||
$("#CheckoutV2Settings").addClass('show');
|
||||
$("#ClassicCheckoutSettings").removeClass('show');
|
||||
$("#CheckNFC").removeClass('d-none');
|
||||
$("#PlaySoundOnPayment").prop('checked', true);
|
||||
$("#ShowPayInWalletButton").prop('checked', false);
|
||||
$("#ShowStoreHeader").prop('checked', false);
|
||||
});
|
||||
delegate('click', '#Presets_Online', e => {
|
||||
$("#CheckoutV2Settings").addClass('show');
|
||||
$("#ClassicCheckoutSettings").removeClass('show');
|
||||
$("#CheckNFC").addClass('d-none');
|
||||
$("#PlaySoundOnPayment").prop('checked', false);
|
||||
$("#ShowPayInWalletButton").prop('checked', true);
|
||||
@ -135,7 +131,7 @@
|
||||
<div id="CheckNFC" class="form-group d-none">
|
||||
<button type="button" class="btn btn-outline-secondary" text-translate="true">Check if NFC is supported and enabled on this device</button>
|
||||
</div>
|
||||
<div class="checkout-settings collapse show" id="CheckoutV2Settings">
|
||||
<div class="checkout-settings">
|
||||
<div class="form-group">
|
||||
<label asp-for="DisplayExpirationTimer" class="form-label"></label>
|
||||
<div class="input-group">
|
||||
|
Loading…
Reference in New Issue
Block a user