Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 555: | Line 555: | ||
$(".mw-collapsible").hover(function(){ | $(".mw-collapsible").hover(function(){ | ||
− | $(".resaltar").css({'cssText':'background: red !important'}) | + | $(".resaltar").first().css({'cssText':'background: red !important'}) |
}, function(){ | }, function(){ | ||
− | $(".resaltar").css('background', 'grey') | + | $(".resaltar").first().css('background', 'grey') |
}); | }); | ||
$(".mw-collapsible").hover(function(){ | $(".mw-collapsible").hover(function(){ | ||
− | $(".resaltar").css({'cssText':'background: red !important'}) | + | $(".resaltar").first().css({'cssText':'background: red !important'}) |
}, function(){ | }, function(){ | ||
− | $(".resaltar").css('background', 'grey') | + | $(".resaltar").first().css('background', 'grey') |
}); | }); | ||
Revision as of 14:23, 18 March 2021