diff --git a/www/common/common-interface.js b/www/common/common-interface.js index ddaca34be..79951c3c5 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -1395,6 +1395,11 @@ define([ $content.hide(); }; $content.blur(onBlur).appendTo($button); + $('body').keydown(function (e) { + if (e.which === 27) { + $content.blur(); + } + }); }; return UI;