Skip to content

Commit ded306b

Browse files
committed
Add crowd compatibility
1 parent 2455097 commit ded306b

4 files changed

Lines changed: 196 additions & 150 deletions

File tree

src/Assets/js/admin.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ if (cardWidgetForm) {
100100
}
101101
if (goalEl) goalEl.innerHTML = `Objectif : <strong>${goalValue} €</strong>`;
102102
if (pct) pct.textContent = '50%';
103+
104+
const cta = document.getElementById('cardPreviewCta');
105+
if (cta) {
106+
cta.style.color = tagColor;
107+
cta.style.backgroundColor = tagBgColor;
108+
}
103109
}
104110

105111
bindPreviewInputs(

0 commit comments

Comments
 (0)