aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mixed/js/text-scanner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/text-scanner.js b/ext/mixed/js/text-scanner.js
index 2aeac565..0e295585 100644
--- a/ext/mixed/js/text-scanner.js
+++ b/ext/mixed/js/text-scanner.js
@@ -115,7 +115,7 @@ class TextScanner extends EventDispatcher {
this._delay = delay;
}
if (typeof touchInputEnabled === 'boolean') {
- this._touchInputEnabled = false;
+ this._touchInputEnabled = touchInputEnabled;
}
if (typeof scanLength === 'number') {
this._scanLength = scanLength;