fix(ui): Stimmenliste im Playground beim Öffnen laden (#1112)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GmHhg5YdSXUmKzjHCaEWQp
This commit is contained in:
@ -465,6 +465,8 @@ const CHAT_JS: &str = r#"(function () {
|
||||
.catch(function () { stimme.textContent = ""; var f = document.createElement("option"); f.value = ""; f.textContent = "Stimmen nicht abrufbar"; stimme.appendChild(f); });
|
||||
}
|
||||
if (sprache) { sprache.addEventListener("change", stimmenLaden); }
|
||||
// Beim Öffnen ist das Sprachmodell oft schon vorausgewählt, dann löst nur „change“ nichts aus: einmal laden.
|
||||
stimmenLaden();
|
||||
|
||||
var live = document.getElementById("chat-live");
|
||||
var vorlesenStopp = document.getElementById("chat-vorlesen-stopp");
|
||||
|
||||
Reference in New Issue
Block a user