From da6af9024d495e691e07f07156c986ba8f0f4924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 6 Jan 2014 16:11:43 +0100 Subject: [PATCH] FEATURE: add go to /top page keyboard shortcut --- .../discourse/components/keyboard_shortcuts_component.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/keyboard_shortcuts_component.js b/app/assets/javascripts/discourse/components/keyboard_shortcuts_component.js index b0fdc8bc803..c48cc476715 100644 --- a/app/assets/javascripts/discourse/components/keyboard_shortcuts_component.js +++ b/app/assets/javascripts/discourse/components/keyboard_shortcuts_component.js @@ -12,7 +12,8 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({ 'g n': '/new', 'g u': '/unread', 'g f': '/favorited', - 'g c': '/categories' + 'g c': '/categories', + 'g t': '/top', }, CLICK_BINDINGS: {