aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/options-form.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-15 11:30:04 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-15 11:30:04 -0800
commitb5e1a9e26089fec647d20275e8a4cbd453679a6a (patch)
treebfaa864de99bc59e944745708345afa27f6e7445 /ext/bg/js/options-form.js
parent655bcec5114854dfcf6e094340e6025c5841fe0e (diff)
fixing optionsNew/optionsOld
Diffstat (limited to 'ext/bg/js/options-form.js')
-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');