summaryrefslogtreecommitdiff
path: root/ext/fg/js/driver.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-04 17:30:10 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-04 17:30:10 -0800
commitc8eb77cfd9e30625ae33739b7de5a86f59d0457c (patch)
tree8125b75868077259df691c5cf86c7bae0c2b145b /ext/fg/js/driver.js
parent2e7ce451126342a9e77c43e757cd1ffdac00d807 (diff)
wip
Diffstat (limited to 'ext/fg/js/driver.js')
-rw-r--r--ext/fg/js/driver.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js
index 87cce875..73ddd84f 100644
--- a/ext/fg/js/driver.js
+++ b/ext/fg/js/driver.js
@@ -73,11 +73,11 @@ class Driver {
return;
}
- const searcher = () => this.searchAt(this.lastMousePos);
+ const searchFunc = () => this.searchAt(this.lastMousePos);
if (this.popup.isVisible()) {
- searcher();
+ searchFunc();
} else {
- this.popupTimerSet(searcher);
+ this.popupTimerSet(searchFunc);
}
}