Join GitHub today
fixed mouseenter/mouseleave #224
Haha, ya I think you did. It does make sense though, mousein is the literal opposite of mouseout.
So, relatedTarget contains the element being entered in the case of a mouseout and the element being left in the case of a mouseover. So, if currentTarget (the element the event has been set on) contains relatedTarget, then from the perspective of a mouseenter/mouseleave event, nothing has changed.