fix: auto playback

This commit is contained in:
Timothy J. Baek 2024-06-07 21:10:00 -07:00
parent 411e6c2fe4
commit f78e6a5fba

View File

@ -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();
} }