summaryrefslogtreecommitdiffstats
path: root/client/lib/keyboard.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/lib/keyboard.js')
-rw-r--r--client/lib/keyboard.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/client/lib/keyboard.js b/client/lib/keyboard.js
index c1267938..8601e623 100644
--- a/client/lib/keyboard.js
+++ b/client/lib/keyboard.js
@@ -19,12 +19,7 @@ Mousetrap.bind('esc', function() {
});
Mousetrap.bind('w', function() {
- if (! Session.get('currentCard')) {
- Sidebar.toogle();
- } else {
- Utils.goBoardId(Session.get('currentBoard'));
- Sidebar.hide();
- }
+ Sidebar.toogle();
});
Mousetrap.bind('q', function() {