fixing optionsNew/optionsOld
This commit is contained in:
parent
655bcec511
commit
b5e1a9e260
@ -26,7 +26,7 @@ function yomichan() {
|
|||||||
|
|
||||||
function getFormValues() {
|
function getFormValues() {
|
||||||
return optionsLoad().then(optionsOld => {
|
return optionsLoad().then(optionsOld => {
|
||||||
const optionsNew = $.extend({}, optionsOld);
|
const optionsNew = $.extend(true, {}, optionsOld);
|
||||||
|
|
||||||
optionsNew.general.autoStart = $('#activate-on-startup').prop('checked');
|
optionsNew.general.autoStart = $('#activate-on-startup').prop('checked');
|
||||||
optionsNew.general.audioPlayback = $('#audio-playback-buttons').prop('checked');
|
optionsNew.general.audioPlayback = $('#audio-playback-buttons').prop('checked');
|
||||||
|
Loading…
Reference in New Issue
Block a user