summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/App.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/js/src/App.js b/assets/js/src/App.js
index 0fe9d6e5..1b5ae981 100644
--- a/assets/js/src/App.js
+++ b/assets/js/src/App.js
@@ -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() {