fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autocomplete style
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
search.js
diff --git
a/wolnelektury/static/js/search.js
b/wolnelektury/static/js/search.js
index
ee4cc51
..
e810246
100644
(file)
--- 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)
render_item: function (ul, item) {
return $("<li></li>").data('item.autocomplete', item)
- .append('<a href="'+item.url+'">'+item.label+ ' ('+item.category+')</a>')
+ .append('<span class="search-hint-label"><a href="'+item.url+'">'+item.label+'</a></span>'+
+ '<span class="search-hint-category mono">'+item.category+'</span>')
.appendTo(ul);
},
.appendTo(ul);
},