Actually fix the edit time

This commit is contained in:
cyi1341 2024-02-16 21:50:27 +08:00
parent ad864640a3
commit 21ab8f3385
1 changed files with 3 additions and 5 deletions

View File

@ -964,14 +964,13 @@
console.log('Index found at', titleIndex.bestTitle);
clickRadioInputAtIndex(titleIndex.bestTitle);
if (!descriptionEdit) {
new Promise(resolve => setTimeout(resolve, 50000));
clickSubmitButton();
isSubmitted = true;
}
} else {
console.log('Index not found')
}
}, 10000);
}, 50000);
}
if (descriptionEdit) {
@ -1002,13 +1001,12 @@
if (getTextNodes()[descriptionIndex.bestDescription] !== undefined) {
console.log('Index found at', descriptionIndex.bestDescription);
clickRadioInputAtIndex(descriptionIndex.bestDescription);
new Promise(resolve => setTimeout(resolve, 50000));
clickSubmitButton();
isSubmitted = true;
} else {
console.log('Index not found');
}
}, 10000);
}, 50000);
}
}
@ -1228,7 +1226,7 @@
await new Promise(resolve => setTimeout(resolve, 2500));
clickSubmitButton();
isSubmitted = true;
}
}
}
}
} else {