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