From 534dbd660eaefbbc5827b1b61ba384e768562086 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 7 Feb 2011 10:56:48 -0600 Subject: [PATCH] Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052. 1.5-stable --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support.js b/src/support.js index 4807ce2..8b60abd 100644 --- a/src/support.js +++ b/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) -- 1.7.10.4