Line 11: | Line 11: | ||
} | } | ||
location.hash = "#" + e; | location.hash = "#" + e; | ||
+ | $(document).keyup(function(evt) { | ||
+ | if (e.keyCode == 27) { | ||
+ | close(evt); | ||
+ | } | ||
+ | }); | ||
} | } | ||
function hide(e) { | function hide(e) { |
Revision as of 10:58, 7 December 2019