From a74fdceae9f4c21608014ab49ef140764909f3dc Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 25 Oct 2011 18:58:15 +0100 Subject: [PATCH] addClass for search labels --- itf/static/js/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itf/static/js/search.js b/itf/static/js/search.js index ac1f95a..15c409f 100644 --- a/itf/static/js/search.js +++ b/itf/static/js/search.js @@ -1,5 +1,5 @@ var labelMap = { - 'id_q': '

Search

', + 'id_q': '

Search:

', 'id_models_0': 'You could also narrow your search.
Select a category.' } @@ -7,7 +7,7 @@ $(function() { for (var i in labelMap) { if (labelMap.hasOwnProperty(i)) { if ($('label[for=' + i + ']').length > 0) { - $('label[for=' + i + ']').eq(0).html(labelMap[i]); + $('label[for=' + i + ']').eq(0).addClass(i).html(labelMap[i]); } } }