esc closes article panel
This commit is contained in:
parent
a593cb62f3
commit
0dfc968b1e
|
@ -683,6 +683,11 @@ function hotkey_handler(e) {
|
||||||
|
|
||||||
if (!hotkey_prefix) {
|
if (!hotkey_prefix) {
|
||||||
|
|
||||||
|
if (keycode == 27) { // escape
|
||||||
|
closeArticlePanel();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (keycode == 69) { // e
|
if (keycode == 69) { // e
|
||||||
var id = getActiveArticleId();
|
var id = getActiveArticleId();
|
||||||
emailArticle(id);
|
emailArticle(id);
|
||||||
|
|
Loading…
Reference in New Issue