diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-04-07 22:41:16 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-04-07 22:41:16 -0700 |
commit | 5db0d5d59ac794430a886a41eeb4ba18a9ee635a (patch) | |
tree | 9e80073fd447cd57e766c81babcf0a83bcb9fbbf /ext/bg/js/options-form.js | |
parent | edbb8086bc834b837268d10a54371a0247d99827 (diff) |
WIP
Diffstat (limited to 'ext/bg/js/options-form.js')
-rw-r--r-- | ext/bg/js/options-form.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js index a495813d..7504f74e 100644 --- a/ext/bg/js/options-form.js +++ b/ext/bg/js/options-form.js @@ -20,12 +20,14 @@ function optionsToForm(opts) { $('#scanLength').val(opts.scanLength); $('#loadOnStartup').prop('checked', opts.loadOnStartup); + $('#highlightText').prop('checked', opts.highlightText); } function formToOptions() { return sanitizeOptions({ - scanLength: $('#scanLength').val(), - loadOnStartup: $('#loadOnStartup').prop('checked') + scanLength: $('#scanLength').val(), + loadOnStartup: $('#loadOnStartup').prop('checked'), + highlightText: $('#highlightText').prop('checked') }); } |