esc closes article panel
This commit is contained in:
parent
a593cb62f3
commit
0dfc968b1e
1 changed files with 5 additions and 0 deletions
|
@ -683,6 +683,11 @@ function hotkey_handler(e) {
|
|||
|
||||
if (!hotkey_prefix) {
|
||||
|
||||
if (keycode == 27) { // escape
|
||||
closeArticlePanel();
|
||||
return;
|
||||
}
|
||||
|
||||
if (keycode == 69) { // e
|
||||
var id = getActiveArticleId();
|
||||
emailArticle(id);
|
||||
|
|
Loading…
Reference in a new issue