Launch-special remaining: drop the total

Dynamic tier-card JS now renders "Limited: N remaining" instead of
"Limited: N of M remaining". Matches the buy page (v0.2.0:36); the
operator's initial launch volume stays private.
This commit is contained in:
Grant
2026-05-11 18:30:46 -05:00
parent a8a0e39fe0
commit fcfbb95354
+1 -1
View File
@@ -1187,7 +1187,7 @@ fmt.<span class="f">Printf</span>(<span class="s">"licensed for %s, expires %s\n
if (typeof remaining === 'number' && remaining > 0) { if (typeof remaining === 'number' && remaining > 0) {
const meta = document.createElement('div'); const meta = document.createElement('div');
meta.className = 'tier-launch-meta'; meta.className = 'tier-launch-meta';
meta.textContent = 'Limited: ' + remaining + ' of ' + (fd.max_uses || 0) + ' remaining'; meta.textContent = 'Limited: ' + remaining + ' remaining';
card.appendChild(meta); card.appendChild(meta);
} }
const orig = document.createElement('div'); const orig = document.createElement('div');