Skip to content

Commit

Permalink
Update jQuery.support.noCloneEvent test to function properly in IE9. …
Browse files Browse the repository at this point in the history
…Fixes #8052. 1.5-stable
  • Loading branch information
csnover committed Feb 7, 2011
1 parent 8805f13 commit 534dbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support.js
Expand Up @@ -114,7 +114,7 @@
jQuery.support.deleteExpando = false;
}

if ( div.attachEvent && div.fireEvent ) {
if ( !div.addEventListener && div.attachEvent && div.fireEvent ) {
div.attachEvent("onclick", function click() {
// Cloning a node shouldn't copy over any
// bound event handlers (IE does this)
Expand Down

0 comments on commit 534dbd6

Please sign in to comment.