Autocomplete: Don't add anchors to items in generated menu

This commit is contained in:
Kris Borchers
2013-09-22 22:25:29 -05:00
parent fba5c6f94a
commit e08791d2c1

View File

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