Fix primary filter

This commit is contained in:
Jai A 2024-11-02 01:44:05 -07:00
parent ad38749f98
commit f165665a35
No known key found for this signature in database
GPG Key ID: 9A9F9B7250E9883C

View File

@ -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);