diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-10-09 12:33:02 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-10-09 12:33:02 -0700 |
commit | a6dd99712256e20a76e88fa6830283e509ac23cc (patch) | |
tree | 3a1c81887f5e60bffa371e1287888a2896f8ad34 /ext | |
parent | f34b51252245b1834e0cd049859782145156e09b (diff) |
Pressing keys other than escape no longer closes definition popup
Diffstat (limited to 'ext')
-rw-r--r-- | ext/fg/js/driver.js | 2 | ||||
-rw-r--r-- | ext/manifest.json | 2 |
2 files changed, 2 insertions, 2 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(); } } diff --git a/ext/manifest.json b/ext/manifest.json index 02cfd6d8..84ffc026 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Yomichan", - "version": "0.992", + "version": "0.993", "description": "Japanese dictionary with Anki integration", "icons": {"16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png"}, |