This commit is contained in:
Jai A 2024-10-31 15:24:13 -07:00
parent 7825dd64ca
commit ad38749f98
No known key found for this signature in database
GPG Key ID: 9A9F9B7250E9883C

View File

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