summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-27 11:53:07 -0400
committerGitHub <noreply@github.com>2020-09-27 11:53:07 -0400
commit6b6ee765502a7f449bd1682d83716c59f4fa4729 (patch)
tree7159fd2e60f9462166cc929677ef148b9a13b20b /ext/bg/js
parent3b6e3193ae5e6248ad1405de50a98fb41796bc2e (diff)
Move searchTerms/searchKanji to front of object definitions (#873)
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options.js4
-rw-r--r--ext/bg/js/settings/scan-inputs-controller.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index f83dad6d..19a5cc2c 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -522,12 +522,12 @@ class OptionsUtil {
}
const createInputDefaultOptions = () => ({
showAdvanced: false,
+ searchTerms: true,
+ searchKanji: true,
scanOnTouchMove: true,
scanOnPenHover: true,
scanOnPenPress: true,
scanOnPenRelease: false,
- searchTerms: true,
- searchKanji: true,
preventTouchScrolling: true
});
for (const {options: profileOptions} of options.profiles) {
diff --git a/ext/bg/js/settings/scan-inputs-controller.js b/ext/bg/js/settings/scan-inputs-controller.js
index 5da0d5e1..ec2758cb 100644
--- a/ext/bg/js/settings/scan-inputs-controller.js
+++ b/ext/bg/js/settings/scan-inputs-controller.js
@@ -99,12 +99,12 @@ class ScanInputsController {
types: {mouse: true, touch: false, pen: false},
options: {
showAdvanced: false,
+ searchTerms: true,
+ searchKanji: true,
scanOnTouchMove: true,
scanOnPenHover: true,
scanOnPenPress: true,
scanOnPenRelease: false,
- searchTerms: true,
- searchKanji: true,
preventTouchScrolling: true
}
}]