update commit message

This commit is contained in:
2026-05-29 00:27:03 -07:00
parent ed1107a0c0
commit 254f488eca
21 changed files with 565 additions and 210 deletions
+6 -2
View File
@@ -23,6 +23,10 @@
};
let detailNavigator = null;
function hasTarotAccess() {
return window.TarotAppConfig?.hasTarotAccess?.() === true;
}
function normalizePlanetToken(value) {
return String(value || "")
.trim()
@@ -290,7 +294,7 @@
if (!correspondence || typeof correspondence !== "object") {
const fallback = document.createElement("span");
fallback.className = "planet-text";
fallback.textContent = "No tarot/day correspondence in current local dataset.";
fallback.textContent = "No day correspondence in current local dataset.";
containerEl.appendChild(fallback);
return;
}
@@ -309,7 +313,7 @@
containerEl.appendChild(line);
}
if (arcana) {
if (arcana && hasTarotAccess()) {
const btn = createInlineButton(
trumpNo != null ? `${arcanaLabel} · Trump ${trumpNo}` : arcanaLabel,
() => {