Improve keyboard shortcuts handling

This commit is contained in:
Frederic Guillot
2017-01-11 22:07:19 -05:00
parent d459bec035
commit d0dad82a27
5 changed files with 73 additions and 45 deletions

View File

@@ -113,6 +113,7 @@
}
function destroy() {
isOpen = false;
var overlayElement = KB.find('#modal-overlay');
if (overlayElement) {
@@ -156,7 +157,6 @@
});
},
close: function () {
isOpen = false;
destroy();
},
isOpen: function () {