From b5b13b8c5ffca9b50f03aa2b95662d39878c720f Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 28 Aug 2014 15:08:06 -0400 Subject: [PATCH] Revert "Merge pull request #2713 from cpradio/master" This reverts commit a9de189682b0e0ec7c6b4209b4352d28c1a1e428, reversing changes made to b7ab43e454683db208a177ecf48af294189a2321. --- app/assets/javascripts/discourse/views/header.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/views/header.js.es6 b/app/assets/javascripts/discourse/views/header.js.es6 index 0986709a52d..c6e7e3013b5 100644 --- a/app/assets/javascripts/discourse/views/header.js.es6 +++ b/app/assets/javascripts/discourse/views/header.js.es6 @@ -58,7 +58,7 @@ export default Discourse.View.extend({ // fade it fast $dropdown.fadeIn('fast'); // autofocus any text input field - $dropdown.find('input[type=text],a:first').focus().select(); + $dropdown.find('input[type=text]').focus().select(); $html.on('click.d-dropdown', function(e) { return $(e.target).closest('.d-dropdown').length > 0 ? true : hideDropdown.apply(self);