@innovastudio/contentbuilder 1.4.61 → 1.4.62
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -77536,6 +77536,7 @@ class Dictation {
|
|
77536
77536
|
const inpCommand = this.builderStuff.querySelector('.inp-command');
|
77537
77537
|
this.builder.commandText = '';
|
77538
77538
|
inpCommand.value = '';
|
77539
|
+
inpCommand.focus();
|
77539
77540
|
});
|
77540
77541
|
const btnSend = builderStuff.querySelector('.cmd-send-command');
|
77541
77542
|
btnSend.addEventListener('click', async () => {
|
@@ -77681,6 +77682,10 @@ class Dictation {
|
|
77681
77682
|
const ovl = this.builderStuff.querySelector('.page-command-overlay');
|
77682
77683
|
ovl.style.display = 'none';
|
77683
77684
|
this.builder.isInProgress = false;
|
77685
|
+
if (this.checkMic() === false) {
|
77686
|
+
// Do not clear inpCommand text
|
77687
|
+
return;
|
77688
|
+
}
|
77684
77689
|
if (this.builder.autoSendCommand) {
|
77685
77690
|
// Clear
|
77686
77691
|
const inpCommand = this.builderStuff.querySelector('.inp-command');
|