aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/client.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-06 22:02:49 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-06 22:02:49 -0700
commitfcd27179daaa1cb4d99cc17f55412852e00dc6a3 (patch)
treea4b1d25414f12fb996ab26edffdb97cbde025703 /ext/fg/js/client.js
parent0acc0ad90ce862d30c2c4480b64d65a2e3d10ca1 (diff)
Actually use lookahead option now
Diffstat (limited to 'ext/fg/js/client.js')
-rw-r--r--ext/fg/js/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js
index 3c75068c..d5ad0c2f 100644
--- a/ext/fg/js/client.js
+++ b/ext/fg/js/client.js
@@ -81,7 +81,7 @@ class Client {
}
searchAtPoint(point) {
- const range = getRangeAtPoint(point, 10);
+ const range = getRangeAtPoint(point, this.options.scanLength);
if (range === null) {
this.hidePopup();
return;