Pressing keys other than escape no longer closes definition popup
This commit is contained in:
parent
f34b512522
commit
a6dd997122
@ -65,7 +65,7 @@ class Driver {
|
|||||||
|
|
||||||
if (this.enabled && this.lastMousePos !== null && e.keyCode === 16 /* shift */) {
|
if (this.enabled && this.lastMousePos !== null && e.keyCode === 16 /* shift */) {
|
||||||
this.searchAt(this.lastMousePos, true);
|
this.searchAt(this.lastMousePos, true);
|
||||||
} else {
|
} else if (e.keyCode === 27) {
|
||||||
this.hidePopup();
|
this.hidePopup();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Yomichan",
|
"name": "Yomichan",
|
||||||
"version": "0.992",
|
"version": "0.993",
|
||||||
|
|
||||||
"description": "Japanese dictionary with Anki integration",
|
"description": "Japanese dictionary with Anki integration",
|
||||||
"icons": {"16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png"},
|
"icons": {"16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png"},
|
||||||
|
Loading…
Reference in New Issue
Block a user