Bug Tracker

Opened 8 years ago

Closed 8 years ago

#12873 closed bug (notabug)

mouse leave uses same function as hover

Reported by: Guram Kajaia <guram.kajaia@…> Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

Hello hackers ... I'm interested why jquery calls same function which applied on hover(), on mouse leave ? Please see example. http://jsfiddle.net/HektoR/dHty6/

When you hover over on li, console prints something, same happens when you move mouse outside of this li. See code from jQuery source: https://github.com/jquery/jquery/blob/master/src/event.js#L959-961

Is this bug ? I don't think that this is correct.

Change History (2)

comment:1 Changed 8 years ago by anonymous

Not a bug - outlined functionality here:

http://api.jquery.com/hover/#hover2

comment:2 Changed 8 years ago by dmethvin

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.