summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-12 20:01:55 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-12 20:01:55 -0500
commit72e7a42c8d39e1c1b9c2c7119d1cf4e245e77317 (patch)
tree89280bc93de707fd6769c0836fdd0192ce7b3911 /ext/bg/js/settings.js
parentd9b44040751846d6b0bbf5fcf6ea4152f6ce9bcc (diff)
Fix settings not being saved correctly
Diffstat (limited to 'ext/bg/js/settings.js')
-rw-r--r--ext/bg/js/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js
index 129d5f10..b35bcec7 100644
--- a/ext/bg/js/settings.js
+++ b/ext/bg/js/settings.js
@@ -318,7 +318,7 @@ async function audioSettingsInitialize() {
const optionsContext = getOptionsContext();
const options = await apiOptionsGet(optionsContext);
audioSourceUI = new AudioSourceUI.Container(options.audio.sources, $('.audio-source-list'), $('.audio-source-add'));
- audioSourceUI.save = () => apiOptionsSave();
+ audioSourceUI.save = () => settingsSaveOptions();
textToSpeechInitialize();
}