From f165665a35f0656b06e1b9f72ac56951ed00b8ea Mon Sep 17 00:00:00 2001 From: Jai A Date: Sat, 2 Nov 2024 01:44:05 -0700 Subject: [PATCH] Fix primary filter --- apps/frontend/src/public/promo-frame.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/frontend/src/public/promo-frame.html b/apps/frontend/src/public/promo-frame.html index 6cbfed294..740752386 100644 --- a/apps/frontend/src/public/promo-frame.html +++ b/apps/frontend/src/public/promo-frame.html @@ -140,11 +140,7 @@ function syncAgreeState() { const primaryButton = document.querySelector('[mode="primary"]'); - if ( - primaryButton && - primaryButton.textContent && - primaryButton.textContent.includes("AGREE") - ) { + if (primaryButton) { primaryButton.click(); } else { setTimeout(syncAgreeState, 100);