Make global escape keyboard shorcut

This commit is contained in:
Frederic Guillot
2015-07-04 15:07:17 -04:00
parent ad23b4961a
commit 83b778cb9c
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ var Kanboard = (function() {
$('#popover-container').remove();
});
Mousetrap.bind("esc", function() {
Mousetrap.bindGlobal("esc", function() {
$('#popover-container').remove();
});