diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-10-08 17:39:21 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-10-08 17:39:21 -0700 |
commit | 1e9906c624828819f74628bac4ee42cca3cbe3b6 (patch) | |
tree | 8d752b94329dc2539db935cb9d8cbbffc6530009 /ext/bg/js/options.js | |
parent | 1d573f4179503ea9e1cc15327f67e8b52740adad (diff) |
Automatically look up Kanji when cannot find definitions.
Allow text scanning without holding Shift key (resolves #18).
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r-- | ext/bg/js/options.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index 915164c7..e9ad74a3 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -20,12 +20,13 @@ function sanitizeOptions(options) { const defaults = { activateOnStartup: true, - selectMatchedText: true, enableAudioPlayback: true, enableAnkiConnect: false, showAdvancedOptions: false, + selectMatchedText: true, + holdShiftToScan: true, + scanDelay: 15, scanLength: 20, - ankiCardTags: ['yomichan'], sentenceExtent: 200, |