update Deletet button

This commit is contained in:
qcrao
2024-05-08 12:24:34 +08:00
parent 2856b3a3e4
commit 0267d05e83
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ async function deleteConversation(checkbox) {
async function waitForDeleteButton(parent = document, timeout = 2000) {
const selector = 'div[role="menuitem"]'; // 设定好选择器
const textContent = "Delete chat"; // 指定文本内容
const textContent = "Delete"; // 指定文本内容
const startedAt = Date.now();
while ((Date.now() - startedAt) < timeout) {