the model select element is no more red when a correct model is selected. fixes #100
This commit is contained in:
parent
2593111ed7
commit
e481ea151d
1 changed files with 1 additions and 0 deletions
|
|
@ -166,6 +166,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||
option.value = prefs.chatgpt_model;
|
||||
option.text = prefs.chatgpt_model;
|
||||
select_chatgpt_model.appendChild(option);
|
||||
select_chatgpt_model.addEventListener("change", warnAPIKeyEmpty);
|
||||
|
||||
document.getElementById('btnUpdateChatGPTModels').addEventListener('click', async () => {
|
||||
document.getElementById('model_fetch_loading').style.display = 'inline';
|
||||
|
|
|
|||
Loading…
Reference in a new issue