diff --git a/js/theme_option.js b/js/theme_option.js index d2b36fd..ac1f610 100644 --- a/js/theme_option.js +++ b/js/theme_option.js @@ -128,6 +128,13 @@ function reOrganizeTemplates() { // for nin's templating }); } + +$(document).keyup(function(e) { + if (e.keyCode == 27) {$('.mini-profile .post-area').removeClass('display');} +}); + + + function reAppendModules() { // avoid w1200 things $('.module.toptrends').detach().appendTo($('.dashboard.right')); $('.module.who-to-follow').detach().appendTo($('.dashboard.right'));