From 1acb2a13f10927086c4ca5d713c5d1ec4df9891c Mon Sep 17 00:00:00 2001 From: cpradio Date: Thu, 28 Aug 2014 16:06:48 -0400 Subject: [PATCH] Added a:first --- app/assets/javascripts/discourse/lib/keyboard_shortcuts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js b/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js index 9107c141ac1..991879ba00e 100644 --- a/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js +++ b/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js @@ -147,12 +147,12 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({ showSiteMap: function() { $('#site-map').click(); - $('#site-map-dropdown').focus(); + $('#site-map-dropdown a:first').focus(); }, showCurrentUser: function() { $('#current-user').click(); - $('#user-dropdown').focus(); + $('#user-dropdown a:first').focus(); }, showHelpModal: function() {