keyboard command on ut planner, updated version num

This commit is contained in:
sghsri
2019-10-16 13:44:23 -05:00
parent cfd6c71f40
commit dd3d9fcbae
3 changed files with 12 additions and 4 deletions

View File

@@ -232,3 +232,11 @@ function close() {
$("#myModal").fadeOut(Timing.fade_time);
$("#snackbar").attr("class", "");
}
$(document).keydown(function (e) {
/*Close Modal when hit escape*/
if (e.keyCode == 27) {
close();
}
});