summaryrefslogtreecommitdiff
path: root/assets/js/components/keyboard-shortcuts.js
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-11 15:46:54 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-11 15:46:54 -0500
commitffb392617895095b824a35150e620a68920f9260 (patch)
tree25bee1b1833e9f9bde608c38c3f46fb4e291c2b4 /assets/js/components/keyboard-shortcuts.js
parenta2b44371e050aca123e0e16c3458c7af2f11b48f (diff)
Replace Chosen jQuery plugin by custom UI component
Diffstat (limited to 'assets/js/components/keyboard-shortcuts.js')
-rw-r--r--assets/js/components/keyboard-shortcuts.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/js/components/keyboard-shortcuts.js b/assets/js/components/keyboard-shortcuts.js
new file mode 100644
index 00000000..49524a76
--- /dev/null
+++ b/assets/js/components/keyboard-shortcuts.js
@@ -0,0 +1,4 @@
+// Open board selector: "b"
+KB.onKey(98, function () {
+ KB.trigger('board.selector.open');
+});