Permalink
Browse files

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

  • Loading branch information...
kborchers committed Sep 23, 2013
1 parent fba5c6f commit e08791d2c1be7628b7fd6ca2398cff195cb2e2c2
Showing with 1 addition and 3 deletions.
  1. +1 −3 ui/jquery.ui.autocomplete.js
@@ -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 ) {

0 comments on commit e08791d

Please sign in to comment.