From 9b7f46c8b057e29736d6dc64eb4a694bf25c14f6 Mon Sep 17 00:00:00 2001 From: Mic Date: Wed, 15 May 2024 19:21:41 +0200 Subject: [PATCH] send button query fixed --- js/mzta-chatgpt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index a18f14e3..186aecd3 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -25,7 +25,7 @@ let force_go = false; async function chatgpt_sendMsg(msg, method ='') { const textArea = document.querySelector('form textarea'), - sendButton = document.querySelector('form button[class*="bottom"]'); + sendButton = document.querySelector('form button[class*="main-surface-secondary"]'); textArea.value = msg; textArea.dispatchEvent(new Event('input', { bubbles: true })); // enable send button const delaySend = setInterval(() => {