From a6dd99712256e20a76e88fa6830283e509ac23cc Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 9 Oct 2016 12:33:02 -0700 Subject: Pressing keys other than escape no longer closes definition popup --- ext/fg/js/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/fg/js') 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(); } } -- cgit v1.2.3