summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index 89538b3e..673666bb 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -529,7 +529,7 @@ class OptionsUtil {
profileOptions.scanning.hideDelay = 0;
profileOptions.scanning.pointerEventsEnabled = false;
- const {modifier, middleMouse, touchInputEnabled} = profileOptions.scanning;
+ const {modifier, middleMouse} = profileOptions.scanning;
const scanningInputs = [];
let modifierInput = '';
switch (modifier) {
@@ -557,14 +557,12 @@ class OptionsUtil {
options: createInputDefaultOptions()
});
}
- if (touchInputEnabled) {
- scanningInputs.push({
- include: '',
- exclude: '',
- types: {mouse: false, touch: true, pen: true},
- options: createInputDefaultOptions()
- });
- }
+ scanningInputs.push({
+ include: '',
+ exclude: '',
+ types: {mouse: false, touch: true, pen: true},
+ options: createInputDefaultOptions()
+ });
profileOptions.scanning.inputs = scanningInputs;
}
await this._addFieldTemplatesToOptions(options, '/bg/data/anki-field-templates-upgrade-v4.handlebars');