summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-04 15:07:17 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-04 15:07:17 -0400
commit83b778cb9c10a3738180888a1e2f7305b5491adf (patch)
tree152d83a8bc56472c1f2306fe168ce8aa2e4360e4 /assets/js/src
parentad23b4961a0ac31a7f9c5259b48db868c3e26cf0 (diff)
Make global escape keyboard shorcut
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/base.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/src/base.js b/assets/js/src/base.js
index 2d8ca133..043b78f7 100644
--- a/assets/js/src/base.js
+++ b/assets/js/src/base.js
@@ -51,7 +51,7 @@ var Kanboard = (function() {
$('#popover-container').remove();
});
- Mousetrap.bind("esc", function() {
+ Mousetrap.bindGlobal("esc", function() {
$('#popover-container').remove();
});