diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-02 17:27:26 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-02 17:27:26 -0700 |
commit | c70aedc2ff546cb6a8ed1401e8b5e3a0ca681c28 (patch) | |
tree | 8db98a0bed94bc2cbab7c6fe27dc88506136c374 /ext/bg/js/options-form.js | |
parent | eaa7291683604895017c67e716f7ee44a1ea853a (diff) |
WIP
Diffstat (limited to 'ext/bg/js/options-form.js')
-rw-r--r-- | ext/bg/js/options-form.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index 9799f664..1c50d7a7 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -18,7 +18,7 @@ function optionsToForm(opts) { - $('#enableAnkiConnect').prop('checked', opts.ankiConnect); + $('#enableAnkiConnect').prop('checked', opts.enableAnkiConnect); $('#selectMatchedText').prop('checked', opts.selectMatchedText); $('#loadOnStartup').prop('checked', opts.loadOnStartup); $('#scanLength').val(opts.scanLength); @@ -28,7 +28,7 @@ function formToOptions() { return sanitizeOptions({ loadOnStartup: $('#loadOnStartup').prop('checked'), selectMatchedText: $('#selectMatchedText').prop('checked'), - ankiConnect: $('#enableAnkiConnect').prop('checked'), + enableAnkiConnect: $('#enableAnkiConnect').prop('checked'), scanLength: $('#scanLength').val() }); } |