aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2011-03-21 10:53:57 -0400
committerjeresig <jeresig@gmail.com>2011-03-21 10:53:57 -0400
commit7705c35b140f378e407c196599cc738bc54c5cec (patch)
tree5a278180cc3d3710f6f146484247c0e8bda2d54b /src
parent5c79f82ec2e866a5d7cd1775382f6221e3937275 (diff)
parent2ac4067a639856a6035c3bd00aab132c9714b52d (diff)
downloadjquery-7705c35b140f378e407c196599cc738bc54c5cec.tar.gz
jquery-7705c35b140f378e407c196599cc738bc54c5cec.zip
Merge branch 'fix-8456-lost-mouseenter' of https://github.com/dmethvin/jquery into dmethvin-fix-8456-lost-mouseenter
Diffstat (limited to 'src')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index 61c8a93fd..bc2cf76eb 100644
--- a/src/event.js
+++ b/src/event.js
@@ -661,7 +661,7 @@ var withinElement = function( event ) {
// Chrome does something similar, the parentNode property
// can be accessed but is null.
- if ( parent !== document && !parent.parentNode ) {
+ if ( parent && parent !== document && !parent.parentNode ) {
return;
}
// Traverse up the tree