esc closes article panel

This commit is contained in:
Andrew Dolgov 2011-11-11 15:36:46 +04:00
parent a593cb62f3
commit 0dfc968b1e
1 changed files with 5 additions and 0 deletions

View File

@ -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);