diff --git a/jqueryui/jqueryui-tests.ts b/jqueryui/jqueryui-tests.ts index 98b45ca280..84d1373318 100644 --- a/jqueryui/jqueryui-tests.ts +++ b/jqueryui/jqueryui-tests.ts @@ -769,13 +769,7 @@ function test_autocomplete() { $("#project-icon").attr("src", "images/" + ui.item.icon); return false; } - }) - .data("autocomplete")._renderItem = (ul, item) => { - return $("
  • ") - .data("item.autocomplete", item) - .append("" + item.label + "
    " + item.desc + "
    ") - .appendTo(ul); - }; + }); $("#developer").autocomplete({ source: (request, response) => {