Update.
This commit is contained in:
parent
2af8ce9bb3
commit
006bb4e282
@ -96,8 +96,8 @@ class STTButton extends HTMLElement {
|
|||||||
.replace(/\?/g, "?\n")
|
.replace(/\?/g, "?\n")
|
||||||
.replace(/\!/g, "!\n");
|
.replace(/\!/g, "!\n");
|
||||||
|
|
||||||
this.targetEl.value = ''; // punctuated;
|
this.targetEl.value = punctuated; // punctuated;
|
||||||
this.simulateTypingWithEvents(this.targetEl, punctuated, 0).then(() => {
|
this.simulateTypingWithEvents(this.targetEl, ' ', 0).then(() => {
|
||||||
const chatInput = document.querySelector('chat-input');
|
const chatInput = document.querySelector('chat-input');
|
||||||
chatInput.finalizeMessage();
|
chatInput.finalizeMessage();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user