mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
fix: auto playback
This commit is contained in:
parent
411e6c2fe4
commit
f78e6a5fba
1 changed files with 3 additions and 2 deletions
|
|
@ -751,7 +751,7 @@
|
||||||
copyToClipboard(responseMessage.content);
|
copyToClipboard(responseMessage.content);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($settings.responseAutoPlayback) {
|
if ($settings.responseAutoPlayback && !$showCallOverlay) {
|
||||||
await tick();
|
await tick();
|
||||||
document.getElementById(`speak-button-${responseMessage.id}`)?.click();
|
document.getElementById(`speak-button-${responseMessage.id}`)?.click();
|
||||||
}
|
}
|
||||||
|
|
@ -977,8 +977,9 @@
|
||||||
copyToClipboard(responseMessage.content);
|
copyToClipboard(responseMessage.content);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($settings.responseAutoPlayback) {
|
if ($settings.responseAutoPlayback && !$showCallOverlay) {
|
||||||
await tick();
|
await tick();
|
||||||
|
|
||||||
document.getElementById(`speak-button-${responseMessage.id}`)?.click();
|
document.getElementById(`speak-button-${responseMessage.id}`)?.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue