Fix primary filter
This commit is contained in:
parent
ad38749f98
commit
f165665a35
@ -140,11 +140,7 @@
|
|||||||
function syncAgreeState() {
|
function syncAgreeState() {
|
||||||
const primaryButton = document.querySelector('[mode="primary"]');
|
const primaryButton = document.querySelector('[mode="primary"]');
|
||||||
|
|
||||||
if (
|
if (primaryButton) {
|
||||||
primaryButton &&
|
|
||||||
primaryButton.textContent &&
|
|
||||||
primaryButton.textContent.includes("AGREE")
|
|
||||||
) {
|
|
||||||
primaryButton.click();
|
primaryButton.click();
|
||||||
} else {
|
} else {
|
||||||
setTimeout(syncAgreeState, 100);
|
setTimeout(syncAgreeState, 100);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user