Added "?" to display list of keyboard shortcuts

This commit is contained in:
Frederic Guillot
2016-03-11 23:01:38 -05:00
parent 4f54a547fa
commit 241ca53e47
9 changed files with 54 additions and 35 deletions

View File

@@ -86,6 +86,11 @@ App.prototype.keyboardShortcuts = function() {
self.popover.close();
self.dropdown.close();
});
// Show keyboard shortcut
Mousetrap.bind("?", function() {
self.popover.open($("body").data("keyboard-shortcut-url"));
});
};
App.prototype.checkSession = function() {