hide model warning on button click in addCustomDiv function
This commit is contained in:
parent
1aceb9fbfb
commit
2cf21599c0
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ function addCustomDiv(prompt_action,tabId,mailMessageId) {
|
||||||
btn_model.textContent = browser.i18n.getMessage("chatgpt_btn_model");
|
btn_model.textContent = browser.i18n.getMessage("chatgpt_btn_model");
|
||||||
btn_model.onclick = async function() {
|
btn_model.onclick = async function() {
|
||||||
force_go = true;
|
force_go = true;
|
||||||
|
document.getElementById('mzta-model_warn').style.display = 'none';
|
||||||
};
|
};
|
||||||
modelWarnDiv.appendChild(btn_model);
|
modelWarnDiv.appendChild(btn_model);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue