summaryrefslogtreecommitdiff
path: root/assets/js/vendor/mousetrap-global-bind.min.js
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-15 21:54:21 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-15 21:54:21 -0500
commitb2c95a25e3b866f3987ac54c48e0a65792c8517d (patch)
treece9b468723b87892985fa28eb40221ef44de51c2 /assets/js/vendor/mousetrap-global-bind.min.js
parent353117f44e02e47019b846806fc11bad7df57152 (diff)
Enable keyboard shortcut inside textarea and minor fixes
Diffstat (limited to 'assets/js/vendor/mousetrap-global-bind.min.js')
-rw-r--r--assets/js/vendor/mousetrap-global-bind.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/js/vendor/mousetrap-global-bind.min.js b/assets/js/vendor/mousetrap-global-bind.min.js
new file mode 100644
index 00000000..636b25e0
--- /dev/null
+++ b/assets/js/vendor/mousetrap-global-bind.min.js
@@ -0,0 +1 @@
+Mousetrap=function(a){var d={},e=a.stopCallback;a.stopCallback=function(b,c,a){return d[a]?!1:e(b,c,a)};a.bindGlobal=function(b,c,e){a.bind(b,c,e);if(b instanceof Array)for(c=0;c<b.length;c++)d[b[c]]=!0;else d[b]=!0};return a}(Mousetrap);