aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/event.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2006-10-06 14:05:30 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2006-10-06 14:05:30 +0000
commitc5943ff9bbc62afe434901e0aa0f28f0c60ba94a (patch)
treeed225b280b2b80855e536331628a0de1cbe171a1 /src/event/event.js
parent1ffa984e0d27a832245920d045b88c94c00a998c (diff)
downloadjquery-c5943ff9bbc62afe434901e0aa0f28f0c60ba94a.tar.gz
jquery-c5943ff9bbc62afe434901e0aa0f28f0c60ba94a.zip
Fixed bug #222 (again)
Diffstat (limited to 'src/event/event.js')
-rw-r--r--src/event/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/event.js b/src/event/event.js
index de0b02d5a..81c62d83b 100644
--- a/src/event/event.js
+++ b/src/event/event.js
@@ -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;