From c52db29ff56abfed857b11d8b9cbfb5cb4d7d598 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 10 Oct 2013 20:17:41 -0700 Subject: set the colour of the active nav element so it doesn't get washed out --- view/theme/redbasic/js/redbasic.js | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'view/theme/redbasic/js/redbasic.js') diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 42a55c409..e7a682911 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -66,22 +66,24 @@ $('.sidebar-group-element').hover( ); -//$('.savedsearchdrop').hover( +//$('.saved-search-li a').hover( // function() { -// $(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');}, +// id = $(this).attr('id'); +// $('#dropicon-' + id).css('visibility','visible');}, // function() { -// $(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');} +// id = $(this).attr('id'); +// $('#dropicon-' + id).css('visibility','hidden');} // ); -$('.savedsearchterm').hover( - function() { - id = $(this).attr('id'); - $('#dropicon-' + id).addClass('searchdrop'); $('#dropicon-' + id).removeClass('iconspacer');}, - - function() { - id = $(this).attr('id'); - $('#dropicon-' + id).removeClass('searchdrop'); $('#dropicon-' + id).addClass('iconspacer');} - ); +//$('.savedsearchterm').hover( +// function() { +// id = $(this).attr('id'); +// $('#dropicon-' + id).css('visibility','visible');}, +// +// function() { +// id = $(this).attr('id'); +// $('#dropicon-' + id).css('visibility','hidden'); +// }); }); -- cgit v1.2.3