aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/options-form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index 8dce7821..2a49a148 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -26,7 +26,7 @@ function yomichan() {
function getFormValues() {
return optionsLoad().then(optionsOld => {
- const optionsNew = $.extend({}, optionsOld);
+ const optionsNew = $.extend(true, {}, optionsOld);
optionsNew.general.autoStart = $('#activate-on-startup').prop('checked');
optionsNew.general.audioPlayback = $('#audio-playback-buttons').prop('checked');