Skip to content
Permalink
Browse files

Update jQuery.support.noCloneEvent test to function properly in IE9. …

…Fixes #8052. 1.5-stable
  • Loading branch information...
csnover committed Feb 7, 2011
1 parent 8805f13 commit 534dbd660eaefbbc5827b1b61ba384e768562086
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/support.js
@@ -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)

0 comments on commit 534dbd6

Please sign in to comment.
You can’t perform that action at this time.