change <p> to <a> tag in autocomplete
This commit is contained in:
@@ -173,7 +173,7 @@ $(document).ready(function(){
|
||||
}).data( "ui-autocomplete" )._renderItem = function( ul, item ) {
|
||||
return $( "<li></li>" )
|
||||
.data( "item.autocomplete", item )
|
||||
.append( "<p>" + item.name + "</p>" )
|
||||
.append( "<a>" + item.name + "</a>" )
|
||||
.appendTo( ul );
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user