fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workaround for django ticket 17111; cover in api fix
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
search.js
diff --git
a/wolnelektury/static/js/search.js
b/wolnelektury/static/js/search.js
index
47b6665
..
6afc4a3
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('<a href="'+item.url+'"><span class="search-hint-label">'+item.label+'</span>'+
+ '<span class="search-hint-category mono">'+item.category+'</span></a>')
.appendTo(ul);
},
.appendTo(ul);
},
@@
-38,11
+39,6
@@
var __bind = function (self, fn) {
},
},
-
- });
-
- $(function() {
- $("#search").search().labelify({labelledClass: "blur"});
});
});