diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-15 11:30:04 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-15 11:30:04 -0800 |
commit | b5e1a9e26089fec647d20275e8a4cbd453679a6a (patch) | |
tree | bfaa864de99bc59e944745708345afa27f6e7445 /ext/bg | |
parent | 655bcec5114854dfcf6e094340e6025c5841fe0e (diff) |
fixing optionsNew/optionsOld
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/options-form.js | 2 |
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'); |