Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug #222 (again)
  • Loading branch information
jzaefferer committed Oct 6, 2006
1 parent 1ffa984 commit c5943ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/event.js
Expand Up @@ -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;
Expand Down

0 comments on commit c5943ff

Please sign in to comment.