hide model warning on button click in addCustomDiv function

This commit is contained in:
Mic 2025-06-03 22:43:00 +02:00
parent 1aceb9fbfb
commit 2cf21599c0

View file

@ -151,6 +151,7 @@ function addCustomDiv(prompt_action,tabId,mailMessageId) {
btn_model.textContent = browser.i18n.getMessage("chatgpt_btn_model");
btn_model.onclick = async function() {
force_go = true;
document.getElementById('mzta-model_warn').style.display = 'none';
};
modelWarnDiv.appendChild(btn_model);