git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix missing semicolon.
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
61c8a93
..
bc2cf76
100644
(file)
--- 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.
// 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
return;
}
// Traverse up the tree