diff --git a/apps/frontend/src/public/promo-frame.html b/apps/frontend/src/public/promo-frame.html index 46377d2e4..a5186e4c7 100644 --- a/apps/frontend/src/public/promo-frame.html +++ b/apps/frontend/src/public/promo-frame.html @@ -107,13 +107,17 @@ }); }); + let attempts = 0; function syncAgreeState() { const primaryButton = document.querySelector('[mode="primary"]'); if (primaryButton) { primaryButton.click(); } else { - setTimeout(syncAgreeState, 100); + attempts++; + if (attempts < 10) { + setTimeout(syncAgreeState, 1000); + } } } syncAgreeState();