Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Make sure that mousing over Chrome "internal div" elements re…

…sults in no trigger of a mouseleave."

This reverts commit 4a828c9.
  • Loading branch information...
commit 944e0e6498396bb1add67b9b0d0b13dc465d393b 1 parent 4a828c9
@jitter jitter authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/event.js
View
4 src/event.js
@@ -652,15 +652,13 @@ var withinElement = function( event ) {
// Firefox sometimes assigns relatedTarget a XUL element
// which we cannot access the parentNode property of
- // Chrome does something similar, the parentNode property
- // can be accessed but is null.
try {
// Traverse up the tree
while ( parent && parent !== this ) {
parent = parent.parentNode;
}
- if ( parent && parent !== this ) {
+ if ( parent !== this ) {
// set the correct event type
event.type = event.data;
Please sign in to comment.
Something went wrong with that request. Please try again.