fix lint
This commit is contained in:
parent
7825dd64ca
commit
ad38749f98
@ -140,7 +140,11 @@
|
|||||||
function syncAgreeState() {
|
function syncAgreeState() {
|
||||||
const primaryButton = document.querySelector('[mode="primary"]');
|
const primaryButton = document.querySelector('[mode="primary"]');
|
||||||
|
|
||||||
if (primaryButton && primaryButton.textContent && primaryButton.textContent.includes("AGREE")) {
|
if (
|
||||||
|
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