X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cb40f164b028883a2fc061307383d0aa98f8b609..e782ecb87d4e300bf1473c5b85123468c7c4193b:/wolnelektury/static/js/search.js?ds=inline diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js index ee4cc51b5..6afc4a399 100644 --- a/wolnelektury/static/js/search.js +++ b/wolnelektury/static/js/search.js @@ -29,7 +29,8 @@ var __bind = function (self, fn) { render_item: function (ul, item) { return $("<li></li>").data('item.autocomplete', item) - .append('<a href="'+item.url+'">'+item.label+ ' ('+item.category+')</a>') + .append('<a href="'+item.url+'"><span class="search-hint-label">'+item.label+'</span>'+ + '<span class="search-hint-category mono">'+item.category+'</span></a>') .appendTo(ul); },