update commit message
This commit is contained in:
+13
-5
@@ -366,7 +366,7 @@
|
||||
}
|
||||
|
||||
const buttonRow = document.createElement("div");
|
||||
buttonRow.className = "alpha-nav-btns";
|
||||
buttonRow.className = "planet-text detail-inline-value";
|
||||
|
||||
cards.forEach((cardName) => {
|
||||
const target = buildTarotTarget(cardName);
|
||||
@@ -374,10 +374,14 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if (buttonRow.childNodes.length) {
|
||||
buttonRow.appendChild(document.createTextNode(", "));
|
||||
}
|
||||
|
||||
const button = document.createElement("button");
|
||||
button.type = "button";
|
||||
button.className = "alpha-nav-btn";
|
||||
button.textContent = `${target.label} ↗`;
|
||||
button.className = "detail-inline-link";
|
||||
button.textContent = target.label;
|
||||
button.addEventListener("click", () => {
|
||||
document.dispatchEvent(new CustomEvent("nav:tarot-trump", {
|
||||
detail: target.detail
|
||||
@@ -416,10 +420,14 @@
|
||||
}
|
||||
|
||||
rows.forEach((month) => {
|
||||
if (elements.ichingDetailCalendarEl.childNodes.length) {
|
||||
elements.ichingDetailCalendarEl.appendChild(document.createTextNode(", "));
|
||||
}
|
||||
|
||||
const button = document.createElement("button");
|
||||
button.type = "button";
|
||||
button.className = "alpha-nav-btn";
|
||||
button.textContent = `${month.label || month.name} ↗`;
|
||||
button.className = "detail-inline-link";
|
||||
button.textContent = month.label || month.name;
|
||||
button.addEventListener("click", () => {
|
||||
document.dispatchEvent(new CustomEvent("nav:calendar-month", {
|
||||
detail: { monthId: month.id }
|
||||
|
||||
Reference in New Issue
Block a user