mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-12 19:02:01 +01:00
Only show setup/reset when the page is fully loaded
This commit is contained in:
parent
d44ec19663
commit
9380d4ca48
1 changed files with 2 additions and 2 deletions
|
@ -202,7 +202,7 @@
|
||||||
</p>
|
</p>
|
||||||
@if (Model.LnurlEndpoint is not null)
|
@if (Model.LnurlEndpoint is not null)
|
||||||
{
|
{
|
||||||
<p>
|
<p id="BoltcardActions" style="visibility:hidden">
|
||||||
<a id="SetupBoltcard" asp-action="SetupBoltcard" asp-controller="UIPullPayment" asp-route-pullPaymentId="@Model.Id" asp-route-command="configure-boltcard">
|
<a id="SetupBoltcard" asp-action="SetupBoltcard" asp-controller="UIPullPayment" asp-route-pullPaymentId="@Model.Id" asp-route-command="configure-boltcard">
|
||||||
Setup Boltcard
|
Setup Boltcard
|
||||||
</a>
|
</a>
|
||||||
|
@ -233,7 +233,7 @@
|
||||||
document.getElementById("ResetBoltcard").setAttribute('target', '_blank');
|
document.getElementById("ResetBoltcard").setAttribute('target', '_blank');
|
||||||
document.getElementById("ResetBoltcard").setAttribute('href', @Safe.Json(@Model.ResetDeepLink));
|
document.getElementById("ResetBoltcard").setAttribute('href', @Safe.Json(@Model.ResetDeepLink));
|
||||||
}
|
}
|
||||||
|
document.getElementById("BoltcardActions").style.visibility = "visible";
|
||||||
|
|
||||||
window.qrApp = initQRShow({});
|
window.qrApp = initQRShow({});
|
||||||
delegate('click', 'button[page-qr]', event => {
|
delegate('click', 'button[page-qr]', event => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue