[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2023-10-18 11:27:12 +02:00
الأصل 1b6de0da8e
التزام 41648859a3

عرض الملف

@@ -365,7 +365,7 @@ class Transcription {
try { try {
this.transcriptionRunning = true; this.transcriptionRunning = true;
this.transcription.lang = transcriptionDialect.value; this.transcription.lang = transcriptionDialect.value;
this.selectEnabled(false); this.selectDisabled(true);
this.transcription.start(); this.transcription.start();
} catch (error) { } catch (error) {
this.transcriptionRunning = false; this.transcriptionRunning = false;
@@ -376,12 +376,12 @@ class Transcription {
stop() { stop() {
this.transcriptionRunning = false; this.transcriptionRunning = false;
this.selectEnabled(); this.selectDisabled(false);
this.transcription.stop(); this.transcription.stop();
} }
selectEnabled(enabled = true) { selectDisabled(disabled = false) {
transcriptionLanguage.disabled = enabled; transcriptionLanguage.disabled = disabled;
transcriptionDialect.disabled = enabled; transcriptionDialect.disabled = disabled;
} }
} }