mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fixed bug #222 (again)
This commit is contained in:
@@ -80,7 +80,7 @@ jQuery.fn.extend({
|
||||
var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget;
|
||||
|
||||
// Traverse up the tree
|
||||
while ( p && p != this ) try { p = p.parentNode } catch(e) { p = null; };
|
||||
while ( p && p != this ) try { p = p.parentNode } catch(e) { p = this; };
|
||||
|
||||
// If we actually just moused on to a sub-element, ignore it
|
||||
if ( p == this ) return false;
|
||||
|
||||
Reference in New Issue
Block a user