bank landing: drop Amount GOA shared-pool line under withdraw

This commit is contained in:
Hernâni Marques 2026-07-10 17:11:00 +02:00
parent 56bfc3cd06
commit b8023b492c
No known key found for this signature in database

View file

@ -787,7 +787,6 @@
Open in wallet → Open in wallet →
</a> </a>
<p class="meta" id="withdraw-demo-meta">Preparing withdraw…</p> <p class="meta" id="withdraw-demo-meta">Preparing withdraw…</p>
<p class="meta" id="withdraw-demo-amount" hidden></p>
<button type="button" class="cta-sec" id="generate-own-account" style="margin-top:0.5rem"> <button type="button" class="cta-sec" id="generate-own-account" style="margin-top:0.5rem">
Generate own account Generate own account
</button> </button>
@ -1090,20 +1089,11 @@
uri = String(uri || "").replace(/:443\//g, "/").replace(/:443\?/g, "?"); uri = String(uri || "").replace(/:443\//g, "/").replace(/:443\?/g, "?");
var open = document.getElementById("open-withdraw-demo"); var open = document.getElementById("open-withdraw-demo");
var meta = document.getElementById("withdraw-demo-meta"); var meta = document.getElementById("withdraw-demo-meta");
var amtEl = document.getElementById("withdraw-demo-amount");
if (open) { if (open) {
open.href = uri; open.href = uri;
open.classList.remove("disabled"); open.classList.remove("disabled");
} }
if (meta) meta.textContent = uri; if (meta) meta.textContent = uri;
if (amtEl) {
if (amount) {
amtEl.hidden = false;
amtEl.textContent = "Amount: " + amount + " · shared pool";
} else {
amtEl.hidden = true;
}
}
makeQr( makeQr(
document.getElementById("qr-withdraw-demo"), document.getElementById("qr-withdraw-demo"),
uri, uri,