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

diff --git a/wolnelektury/static/js/search.js b/wolnelektury/static/js/search.js
index dc85ddee0..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,6 @@ var __bind = function (self, fn) {
 	},
 	
 
-
-	});
-
-	$(".search-result .see-more-snippets").click(function() {
-	    $(this).closest('.search-result').find('.snippets').removeClass('ui-helper-hidden');
-	    });
     });