mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Autocomplete: Don't add anchors to items in generated menu
This commit is contained in:
4
ui/jquery.ui.autocomplete.js
vendored
4
ui/jquery.ui.autocomplete.js
vendored
@@ -523,9 +523,7 @@ $.widget( "ui.autocomplete", {
|
||||
},
|
||||
|
||||
_renderItem: function( ul, item ) {
|
||||
return $( "<li>" )
|
||||
.append( $( "<a>" ).text( item.label ) )
|
||||
.appendTo( ul );
|
||||
return $( "<li>" ).text( item.label ).appendTo( ul );
|
||||
},
|
||||
|
||||
_move: function( direction, event ) {
|
||||
|
||||
Reference in New Issue
Block a user