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 ) {
|
}).data( "ui-autocomplete" )._renderItem = function( ul, item ) {
|
||||||
return $( "<li></li>" )
|
return $( "<li></li>" )
|
||||||
.data( "item.autocomplete", item )
|
.data( "item.autocomplete", item )
|
||||||
.append( "<p>" + item.name + "</p>" )
|
.append( "<a>" + item.name + "</a>" )
|
||||||
.appendTo( ul );
|
.appendTo( ul );
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user