diff options
author | Anton M <obhvsbypqghgc@gmail.com> | 2011-02-08 17:08:25 +0100 |
---|---|---|
committer | Anton M <obhvsbypqghgc@gmail.com> | 2011-02-08 17:08:25 +0100 |
commit | 944e0e6498396bb1add67b9b0d0b13dc465d393b (patch) | |
tree | 4c4d1dd98f72435174e875834460b58d20b521ad /src/event.js | |
parent | 4a828c93d40eb67b2041b08bbed0f1973442bd03 (diff) | |
download | jquery-944e0e6498396bb1add67b9b0d0b13dc465d393b.tar.gz jquery-944e0e6498396bb1add67b9b0d0b13dc465d393b.zip |
Revert "Make sure that mousing over Chrome "internal div" elements results in no trigger of a mouseleave."
This reverts commit 4a828c93d40eb67b2041b08bbed0f1973442bd03.
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/event.js b/src/event.js index a17cf8947..f3a5d9f49 100644 --- a/src/event.js +++ b/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; |