Commit c5943ff9 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fixed bug #222 (again)

parent 1ffa984e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment