[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم