esc closes article panel

This commit is contained in:
Andrew Dolgov 2011-11-11 15:36:46 +04:00
parent a593cb62f3
commit 0dfc968b1e

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