Browse Source

Fixes #1267, bad selector for search in dropdown

1.0
jlukic 10 years ago
parent
commit
7b54e94d02
1 changed files with 6 additions and 4 deletions
  1. 10
      src/definitions/modules/dropdown.js

10
src/definitions/modules/dropdown.js

@ -391,9 +391,11 @@ $.fn.dropdown = function(parameters) {
},
focusSearch: function() {
$search
.focus()
;
if( module.is.search() ) {
$search
.focus()
;
}
},
event: {
@ -1376,7 +1378,7 @@ $.fn.dropdown.settings = {
dropdown : '.ui.dropdown',
text : '> .text:not(.icon)',
input : '> input[type="hidden"], > select',
search : '> .search, .menu > .search > input, .menu > input.search',
search : '> input.search, .menu > .search > input, .menu > input.search',
menu : '.menu',
item : '.item'
},

Loading…
Cancel
Save