From 2ff757b5291336b1cdc8c7d857cc984c6784ad80 Mon Sep 17 00:00:00 2001 From: Mic Date: Thu, 1 May 2025 22:55:01 +0200 Subject: [PATCH] Hide warning message and update loading state in doRetry function --- js/mzta-chatgpt.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index c93a6b84..b538d855 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -438,6 +438,10 @@ async function doProceed(message, customText = ''){ } function doRetry(){ + document.getElementById('mzta-model_warn').style.display = 'none'; + document.getElementById('mzta-btn_retry').remove(); + document.getElementById('mzta-loading').style.display = 'inline-block'; + document.getElementById('mzta-curr_msg').textContent = browser.i18n.getMessage("chatgpt_win_working"); doProceed(current_message); }