diff --git a/static/skin/taskbar.js b/static/skin/taskbar.js index 448b6faf8..db0bf572a 100644 --- a/static/skin/taskbar.js +++ b/static/skin/taskbar.js @@ -31,7 +31,12 @@ jq(document).ready(() => { $( "#kiwixsearchform" ).submit(); } }, - }); + }).data( "ui-autocomplete" )._renderItem = function( ul, item ) { + return $( "
  • " ) + .data( "ui-autocomplete-item", item ) + .append( item.label ) + .appendTo( ul ); + }; /* cybook hack */ if (navigator.userAgent.indexOf("bookeen/cybook") != -1) { @@ -85,4 +90,4 @@ jq(document).ready(() => { } }); })(jq); -}) \ No newline at end of file +})