Skip to main content

Bug Tracker

Side navigation

#10619 closed bug (invalid)

Opened October 30, 2011 06:43PM UTC

Closed October 30, 2011 08:19PM UTC

Hover function repeats on mouseleave

Reported by: pkrenar@gmail.com Owned by:
Priority: low Milestone: None
Component: event Version: 1.4
Keywords: Cc:
Blocked by: Blocking:
Description

In previous version that was good but in newest still no longer work. Hover function repeats on mouseleave. This is example:

$(document).ready(function(){

$(".main-link").hover(function(){

$(this).removeClass("hovered");

$(this).addClass("hovered");

$("ul.sub-nav").hide();

$(this).siblings("ul.sub-nav").stop(false,true).fadeIn("slow");

});

});

Attachments (0)
Change History (2)

Changed October 30, 2011 07:20PM UTC by anonymous comment:1

i've fixed that...replaced hover function with mouseover, thanks

Changed October 30, 2011 08:19PM UTC by rwaldron comment:2

component: unfiledevent
priority: undecidedlow
resolution: → invalid
status: newclosed

So, just to be clear - that behaviour is _correct_ when you pass only one argument to .hover(), see: http://api.jquery.com/hover/#hover2