summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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 5a64c14a..91f1d681 100644
--- a/ext/mixed/js/text-scanner.js
+++ b/ext/mixed/js/text-scanner.js
@@ -112,7 +112,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;