mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 21:42:58 +00:00
fix: auto playback
This commit is contained in:
parent
411e6c2fe4
commit
f78e6a5fba
@ -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 New Issue
Block a user