mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 14:49:07 +08:00
Revert "Merge pull request #2713 from cpradio/master"
This reverts commita9de189682
, reversing changes made tob7ab43e454
.
This commit is contained in:
parent
a9de189682
commit
b5b13b8c5f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user