Side navigation
#12873 closed bug (notabug)
Opened November 09, 2012 08:05AM UTC
Closed November 09, 2012 12:28PM UTC
mouse leave uses same function as hover
Reported by: | Guram Kajaia <guram.kajaia@gmail.com> | 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.
Not a bug - outlined functionality here:
http://api.jquery.com/hover/#hover2