Revert "Merge pull request #2713 from cpradio/master"

This reverts commit a9de189682, reversing
changes made to b7ab43e454.
This commit is contained in:
Robin Ward 2014-08-28 15:08:06 -04:00
parent a9de189682
commit b5b13b8c5f

View File

@ -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);