Skip to content

Commit

Permalink
Fix primary filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Nov 2, 2024
1 parent ad38749 commit f165665
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/frontend/src/public/promo-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f165665

Please sign in to comment.