summaryrefslogtreecommitdiff
path: root/ext/fg/js/driver.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-09 12:33:02 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-09 12:33:02 -0700
commita6dd99712256e20a76e88fa6830283e509ac23cc (patch)
tree3a1c81887f5e60bffa371e1287888a2896f8ad34 /ext/fg/js/driver.js
parentf34b51252245b1834e0cd049859782145156e09b (diff)
Pressing keys other than escape no longer closes definition popup
Diffstat (limited to 'ext/fg/js/driver.js')
-rw-r--r--ext/fg/js/driver.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js
index 1e817c1c..93f46622 100644
--- a/ext/fg/js/driver.js
+++ b/ext/fg/js/driver.js
@@ -65,7 +65,7 @@ class Driver {
if (this.enabled && this.lastMousePos !== null && e.keyCode === 16 /* shift */) {
this.searchAt(this.lastMousePos, true);
- } else {
+ } else if (e.keyCode === 27) {
this.hidePopup();
}
}