X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d52c76021eaf1621b4e55a6eba1df1c0404bd7dd..630e57201a452aa50f7b0993736fdd2b9b9e8110:/wolnelektury/static/js/search.js?ds=sidebyside

diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js
index c41a672d0..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);
 	},
 
@@ -38,12 +39,7 @@ var __bind = function (self, fn) {
 	},
 	
 
-
-	});
-
-    $(function() {
-	$("#search-area input[name=q]").search();
-	
     });
 
+
 })(jQuery);