Fix event handlers in cosyvoice.js Fixes #4668

ba79e7d94cf96b1df1c6cc52a788e07b661bc68a

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Showing whitespace changes
public/scripts/extensions/tts/cosyvoice.js+2 -2
@@ -88,7 +88,7 @@ class CosyVoiceProvider {
88 }88 }
8989
90 // Set initial values from the settings90 // Set initial values from the settings
91 $('#tts_endpoint').val(this.settings.provider_endpoint);91 $('#tts_endpoint').val(this.settings.provider_endpoint).on('change', this.onSettingsChange.bind(this));
9292
9393
94 await this.checkReady();94 await this.checkReady();
@@ -102,7 +102,7 @@ class CosyVoiceProvider {
102 }102 }
103103
104 async onRefreshClick() {104 async onRefreshClick() {
105 return;105 return await this.checkReady();
106 }106 }
107107
108 //#################//108 //#################//