diff options
Diffstat (limited to 'ui/autocomplete.js')
-rw-r--r-- | ui/autocomplete.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/autocomplete.js b/ui/autocomplete.js index 0132ed7f3..aa0e54633 100644 --- a/ui/autocomplete.js +++ b/ui/autocomplete.js @@ -542,7 +542,9 @@ $.widget( "ui.autocomplete", { }, _renderItem: function( ul, item ) { - return $( "<li>" ).text( item.label ).appendTo( ul ); + return $( "<li>" ) + .append( $( "<div>" ).text( item.label ) ) + .appendTo( ul ); }, _move: function( direction, event ) { |