web: fix account "only" hover links

This commit is contained in:
Simon Michael 2014-05-23 08:39:22 -07:00
parent 7778a0b821
commit 3ee0b5f29b

View File

@ -9,8 +9,8 @@ $(document).ready(function() {
if ($.url.param('accounts')=='0') $('#accounts').hide();
/* set up sidebar account mouse-over handlers */
$('#sidebar p a').mouseenter(function(){ $(this).parent().addClass('mouseover'); });
$('#sidebar p').mouseleave(function(){ $(this).removeClass('mouseover'); });
$('#sidebar p a, #sidebar td a').mouseenter(function(){ $(this).parent().addClass('mouseover'); });
$('#sidebar p, #sidebar td').mouseleave(function(){ $(this).removeClass('mouseover'); });
/* set up various show/hide toggles */
$('#search-help-link').click(function() { $('#search-help').slideToggle('fast'); event.preventDefault(); });